From c215360a922f48958b94d9fff8c13f32cd1597fb Mon Sep 17 00:00:00 2001 From: Worros Date: Sat, 8 Nov 2008 23:01:07 +1000 Subject: [PATCH] Read new parameter in config --- pyfpdb/Configuration.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyfpdb/Configuration.py b/pyfpdb/Configuration.py index adc950ca..b84dd934 100755 --- a/pyfpdb/Configuration.py +++ b/pyfpdb/Configuration.py @@ -178,11 +178,12 @@ class Popup: class Import: def __init__(self, node): - self.interval = node.getAttribute("interval") - self.callFpdbHud = node.getAttribute("callFpdbHud") + self.interval = node.getAttribute("interval") + self.callFpdbHud = node.getAttribute("callFpdbHud") + self.hhArchiveBase = node.getAttribute("hhArchiveBase") def __str__(self): - return " interval = %s\n callFpdbHud = %s\n" % (self.interval, self.callFpdbHud) + return " interval = %s\n callFpdbHud = %s\n hhArchiveBase = %s" % (self.interval, self.callFpdbHud, self.hhArchiveBase) class Tv: def __init__(self, node):