From: Felix Domke Date: Fri, 20 Jan 2006 22:46:53 +0000 (+0000) Subject: don't flood X-Git-Tag: 2.6.0~4340 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/143f9b3b4bffd8ae6f5e8d47beec4aa112ec7d15 don't flood --- diff --git a/RecordTimer.py b/RecordTimer.py index 8f6999c9..3802ac70 100644 --- a/RecordTimer.py +++ b/RecordTimer.py @@ -168,9 +168,12 @@ class RecordTimerEntry(timer.TimerEntry): self.log(14, "user didn't want to zap away, record will probably fail") def timeChanged(self): + old_prepare = self.start_prepare self.start_prepare = self.begin - self.prepare_time self.backoff = 0 - self.log(15, "record time changed, start prepare is now: %s" % time.ctime(self.start_prepare)) + + if old_prepare != self.start_prepare: + self.log(15, "record time changed, start prepare is now: %s" % time.ctime(self.start_prepare)) def createTimer(xml): begin = int(xml.getAttribute("begin"))