3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 19:52:53 +01:00

pylink-contribdl: normalize exit codes

This commit is contained in:
James Lu 2017-02-27 07:28:37 -08:00
parent 8a773dea4e
commit 3281e1e8c2

View File

@ -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():