From 8d842efb12ee7db88505e3078b626855e55aa4bf Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 17 Jan 2010 18:31:52 +0100 Subject: some fixes, closed #62 ?? --- pyLoadCore.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index 4b2e63a2c..96cd1b204 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -303,6 +303,11 @@ class Core(object): self.logger.info(_("created index of plugins")) def compare_time(self, start, end): + + toInt = lambda x: int(x) + start = map(toInt, start) + end = map(toInt, end) + if start == end: return True now = time.localtime()[3:5] -- cgit v1.2.3