diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-11-20 14:33:11 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-11-20 14:33:11 +0100 |
commit | 4525215e384a1446404ef0c3909fd824720d2b2e (patch) | |
tree | 2ddf91d6e05863ffb1975fb6e93bf1c88e4a1e1a /module/Utils.py | |
parent | cz hoster - update search patterns (diff) | |
download | pyload-4525215e384a1446404ef0c3909fd824720d2b2e.tar.xz |
automatic plugin reloader
Diffstat (limited to 'module/Utils.py')
-rw-r--r-- | module/Utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/Utils.py b/module/Utils.py index 36713b778..3919b5ff0 100644 --- a/module/Utils.py +++ b/module/Utils.py @@ -82,9 +82,9 @@ def compare_time(start, end): if start == end: return True now = list(time.localtime()[3:5]) - if start < now and end > now: return True + if start < now < end: return True elif start > end and (now > start or now < end): return True - elif start < now and end < now and start > end: return True + elif start < now > end < start: return True else: return False |