summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2010-02-02 13:24:52 +0100
committerGravatar spoob <spoob@gmx.de> 2010-02-02 13:24:52 +0100
commitc92c37d6831c2c44b238235ef70c7d60533f6a1d (patch)
tree60a54f0edbc168cc1c6870ab7f700adbe7f03aac
parentfix (diff)
downloadpyload-c92c37d6831c2c44b238235ef70c7d60533f6a1d.tar.xz
Fixed time compare thanks prophy
-rwxr-xr-xpyLoadCore.py2
1 files changed, 1 insertions, 1 deletions
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