diff options
| author | 2010-02-02 13:24:52 +0100 | |
|---|---|---|
| committer | 2010-02-02 13:24:52 +0100 | |
| commit | c92c37d6831c2c44b238235ef70c7d60533f6a1d (patch) | |
| tree | 60a54f0edbc168cc1c6870ab7f700adbe7f03aac | |
| parent | fix (diff) | |
| download | pyload-c92c37d6831c2c44b238235ef70c7d60533f6a1d.tar.xz | |
Fixed time compare thanks prophy
| -rwxr-xr-x | pyLoadCore.py | 2 |
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
|
