mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 04:02:45 +01:00
pylink-contribdl: normalize exit codes
This commit is contained in:
parent
8a773dea4e
commit
3281e1e8c2
@ -48,7 +48,7 @@ if __name__ == '__main__':
|
|||||||
if not args.yes:
|
if not args.yes:
|
||||||
text = input('Continue (Y)es/(n)o? ').lower()
|
text = input('Continue (Y)es/(n)o? ').lower()
|
||||||
if not strtobool(text):
|
if not strtobool(text):
|
||||||
sys.exit(2)
|
sys.exit(1)
|
||||||
print()
|
print()
|
||||||
|
|
||||||
for filename, url in urls.items():
|
for filename, url in urls.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user