diff options
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 5 |
1 files changed, 5 insertions, 0 deletions
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]
|