X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=timer.py;h=424dde0934d668e557f00313f9ee81feb708fda8;hb=e77fe4f47dc53fc7581746ec3670d38425e75439;hp=a912f1c629c0ae4b8f394ad2b61359955810da99;hpb=3604798b6ce86c19cb3e045b0808b91ea7dc3a3a;p=vuplus_dvbapp diff --git a/timer.py b/timer.py index a912f1c..424dde0 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.end < now)): + while ((day[time.localtime(self.begin).tm_wday] != 0) or ((day[time.localtime(self.begin).tm_wday] == 0) and self.begin < now)): print time.strftime("%c", time.localtime(self.begin)) print time.strftime("%c", time.localtime(self.end)) self.begin += 86400