From dfb207807392bf30f3a07099fc3fc644553e5453 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 14 Jul 2009 10:44:21 +0200 Subject: little fixes --- pyLoadCore.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pyLoadCore.py') 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): -- cgit v1.2.3