fix startup with old config files

This commit is contained in:
Steffen Schaumburg 2011-04-10 21:08:32 +02:00
parent 28dead2905
commit a9cfd8cac1

View File

@ -494,7 +494,7 @@ class Import:
def __init__(self, node):
self.node = node
self.interval = node.getAttribute("interval")
self.sessionTimeout = node.getAttribute("sessionTimeout")
self.sessionTimeout = string_to_bool(node.getAttribute("sessionTimeout") , default=30)
self.ResultsDirectory = node.getAttribute("ResultsDirectory")
self.hhBulkPath = node.getAttribute("hhBulkPath")
self.saveActions = string_to_bool(node.getAttribute("saveActions") , default=False)