X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/dc0f4d077f33b3c967dc2007b7d1abcf46f7830b..a472c767dc3810b5748913fe4421bd099765a2a8:/RecordTimer.py diff --git a/RecordTimer.py b/RecordTimer.py index 7ae5aafc..f330f8c0 100644 --- a/RecordTimer.py +++ b/RecordTimer.py @@ -123,7 +123,7 @@ class RecordTimerEntry(timer.TimerEntry): event_id = -1 prep_res=self.record_service.prepare(self.Filename + ".ts", self.begin, self.end, event_id) - if pre_res: + if prep_res: self.log(2, "'prepare' failed: error %d" % prep_res) self.record_service = None return False