summarylogtreecommitdiffstats
path: root/Initializes_lastNotified_before_it_is_used.patch
blob: 870a2670a3418cf95117db9c7dd6dd59cb2d5f16 (plain)
1
2
3
4
5
6
7
8
9
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)