summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-07-14 10:44:21 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-07-14 10:44:21 +0200
commitdfb207807392bf30f3a07099fc3fc644553e5453 (patch)
tree5c27a4b486e0a59d6f48cceb4416821ddbb9ed1d /pyLoadCore.py
parentmay stable (diff)
downloadpyload-dfb207807392bf30f3a07099fc3fc644553e5453.tar.xz
little fixes
Diffstat (limited to 'pyLoadCore.py')
-rw-r--r--pyLoadCore.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index b250d3f55..70b815858 100644
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -169,6 +169,8 @@ class Core(object):
if hour > int(start_h) and hour < int(end_h):
return True
+ elif hour < int(end_h) and int(start_h) > int(end_h):
+ return True
elif hour == int(start_h) and minute >= int(start_m):
return True
elif hour == int(end_h) and minute <= int(end_m):