check_eva new Make sure --timeout is an integer

This commit is contained in:
Pall Sigurdsson 2013-09-12 09:14:58 +00:00
parent 3d867d84c0
commit 46024baa26
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ while len(arguments) > 0:
elif arg == '-T' or arg == '--test':
testmode = 1
elif arg == '--timeout':
timeout = arguments.pop(0)
timeout = int(arguments.pop(0))
elif arg == '--path':
path = arguments.pop(0) + '/'
elif arg == '-M' or arg == '--mode':