From fdde6cbb8c3d6abcb5327c05c73e5bfcccc2277f Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Tue, 29 Oct 2013 01:51:06 +0100 Subject: [PATCH] made time_delta an arg; does not work but can be fixed; -k and -x are wrong datatype --- bin/linspector | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/linspector b/bin/linspector index c7ef993..122f46e 100755 --- a/bin/linspector +++ b/bin/linspector @@ -130,7 +130,7 @@ def main(): for service in hostgroup.get_services(): for host in hostgroup.get_hosts(): for period in service.get_periods(): - time_delta += args.delay + time_delta += int(args.delay) new_start_date = start_date + datetime.timedelta(seconds=time_delta) job = Job(service, host,