diff options
-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
|