From: ghost Date: Mon, 6 Jul 2009 21:28:27 +0000 (+0200) Subject: RecordTimer.py: fix typo (thx for adenin) X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=5e9b74157d81f7bfd0ae5315ae1ddbc849e97a5b RecordTimer.py: fix typo (thx for adenin) --- diff --git a/RecordTimer.py b/RecordTimer.py index 1f65038..09156e4 100644 --- a/RecordTimer.py +++ b/RecordTimer.py @@ -186,7 +186,7 @@ class RecordTimerEntry(timer.TimerEntry, object): prep_res=self.record_service.prepare(self.Filename + ".ts", self.begin, self.end, event_id, self.name.replace("\n", ""), self.description.replace("\n", ""), ' '.join(self.tags)) if prep_res: - if prep_res == 255: + if prep_res == -255: self.log(4, "failed to write meta information") else: self.log(2, "'prepare' failed: error %d" % prep_res)