fix allocateRawChannel
[enigma2.git] / RecordTimer.py
index 7748a833e962a916b78e95f4c88d908515fc0baf..f330f8c086c9197be1b4083ebbc0cd55db82eed6 100644 (file)
@@ -122,7 +122,8 @@ class RecordTimerEntry(timer.TimerEntry):
                        if event_id is None:
                                event_id = -1
                                
-                       if self.record_service.prepare(self.Filename + ".ts", self.begin, self.end, event_id):
+                       prep_res=self.record_service.prepare(self.Filename + ".ts", self.begin, self.end, event_id)
+                       if prep_res:
                                self.log(2, "'prepare' failed: error %d" % prep_res)
                                self.record_service = None
                                return False