aboutsummaryrefslogtreecommitdiff
path: root/timer.py
diff options
context:
space:
mode:
Diffstat (limited to 'timer.py')
-rw-r--r--timer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/timer.py b/timer.py
index 424dde09..a912f1c6 100644
--- a/timer.py
+++ b/timer.py
@@ -50,7 +50,7 @@ class TimerEntry:
print time.strftime("%c", time.localtime(self.begin))
print time.strftime("%c", time.localtime(self.end))
print str(time.localtime(self.begin).tm_wday)
- while ((day[time.localtime(self.begin).tm_wday] != 0) or ((day[time.localtime(self.begin).tm_wday] == 0) and self.begin < now)):
+ while ((day[time.localtime(self.begin).tm_wday] != 0) or ((day[time.localtime(self.begin).tm_wday] == 0) and self.end < now)):
print time.strftime("%c", time.localtime(self.begin))
print time.strftime("%c", time.localtime(self.end))
self.begin += 86400