From 129e50b8db2387f88a169e7d50e64cfb83651d8c Mon Sep 17 00:00:00 2001 From: spoob Date: Tue, 2 Feb 2010 13:27:08 +0100 Subject: Fixed time compare again in default --- pyLoadCore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyLoadCore.py b/pyLoadCore.py index dbc9dc1cd..98f525534 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -312,7 +312,7 @@ class Core(object): if start == end: return True - now = time.localtime()[3:5] + now = list(time.localtime()[3:5]) if start < now and end > now: return True elif start > end and (now > start or now < end): return True elif start < now and end < now and start > end: return True -- cgit v1.2.3