Small fixes

This commit is contained in:
2018-07-10 23:09:16 +02:00
parent 75fce01c3b
commit f1bfefa7ab
2 changed files with 5 additions and 4 deletions

View File

@@ -30,6 +30,6 @@ def arg_string(arg, required = ''):
def arg_number(arg, required = ''):
if not arg.isdigit():
print('Invalid value') # TODO
sys.exit('1')
sys.exit(1)
return int(arg)