From c92c37d6831c2c44b238235ef70c7d60533f6a1d Mon Sep 17 00:00:00 2001 From: spoob Date: Tue, 2 Feb 2010 13:24:52 +0100 Subject: Fixed time compare thanks prophy --- pyLoadCore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index 7aa38b9b1..0682cc873 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -310,7 +310,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