X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/935c5f9abeb0d6189c57f8406855d8437db8b0db..5c352c07fe12b7fc866c04ff3a3c9553da4bd44c:/RecordTimer.py diff --git a/RecordTimer.py b/RecordTimer.py index aeff9d05..9f3b2ffb 100644 --- a/RecordTimer.py +++ b/RecordTimer.py @@ -63,7 +63,7 @@ class RecordTimerEntry(timer.TimerEntry, object): if event == iRecordableService.evEnd: print "RecordTimer.staticGotRecordEvent(iRecordableService.evEnd)" recordings = NavigationInstance.instance.getRecordings() - if not len(recordings): # no more recordings exist + if not recordings: # no more recordings exist rec_time = NavigationInstance.instance.RecordTimer.getNextRecordingTime() if rec_time > 0 and (rec_time - time.time()) < 360: print "another recording starts in", rec_time - time.time(), "seconds... do not shutdown yet"