Clean lint problems

This commit is contained in:
2018-07-21 15:55:07 +02:00
parent b18c4dcd18
commit f426b616fd
8 changed files with 30 additions and 47 deletions

View File

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