From 5e9b74157d81f7bfd0ae5315ae1ddbc849e97a5b Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 6 Jul 2009 23:28:27 +0200 Subject: [PATCH] RecordTimer.py: fix typo (thx for adenin) --- RecordTimer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4