From 46024baa26798da57a7e5c2b0f58d430ec6a9c3e Mon Sep 17 00:00:00 2001 From: Pall Sigurdsson Date: Thu, 12 Sep 2013 09:14:58 +0000 Subject: [PATCH] check_eva new Make sure --timeout is an integer --- check_eva/check_eva.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_eva/check_eva.py b/check_eva/check_eva.py index bc89510..333b2de 100644 --- a/check_eva/check_eva.py +++ b/check_eva/check_eva.py @@ -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':