From 4b53261a4d2c1090d7e8cf7c9b804d82953f82dc Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 30 Apr 2012 16:38:01 -0300 Subject: timekpr-0.3.2-8: new package for ~emulatorman and social repo --- .../timekpr/Initializes_lastNotified_before_it_is_used.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch (limited to '~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch') diff --git a/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch b/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch new file mode 100644 index 000000000..870a2670a --- /dev/null +++ b/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch @@ -0,0 +1,10 @@ +--- a/timekpr-client.py 2011-04-15 13:17:59.000000000 +0200 ++++ b/timekpr-client.py 2011-04-15 13:19:06.000000000 +0200 +@@ -40,6 +40,7 @@ + self.conffile = self.VAR['TIMEKPRDIR'] + '/' + self.username + self.limits, self.bfrom, self.bto = readusersettings(self.username, self.conffile) + self.timer = None ++ self.lastNotified = datetime.datetime.fromtimestamp(0); + self.checkLimits() + #Add a gobject loop to check limits: + self.timer = gobject.timeout_add(self.checkInterval * 1000, self.checkLimits) -- cgit v1.2.3