From d0782e47659a7f7bb91c28dc5c52f010b2bd004c Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Thu, 23 Sep 2010 12:38:58 +0200 Subject: [PATCH] Fix: (Now real) random filenames in checkresultdir Signed-off-by: Sven Velt --- nagixsc/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nagixsc/__init__.py b/nagixsc/__init__.py index 03884e3..8f886ac 100644 --- a/nagixsc/__init__.py +++ b/nagixsc/__init__.py @@ -217,12 +217,13 @@ def dict2out_passive(checks, xmltimestamp, opt_pipe, opt_verb=0): return count_services -def dict2out_checkresult(checks, xmltimestamp, opt_checkresultdir, opt_verb): +def dict2out_checkresult(checks, xmltimestamp, opt_checkresultdir, opt_verb=0): count_services = 0 count_failed = 0 list_failed = [] chars = string.letters + string.digits ctimestamp = datetime.datetime.now().ctime() + random.seed() for check in checks: count_services += 1 -- 2.30.2