diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-04-30 16:38:01 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-04-30 16:38:01 -0300 |
commit | 4b53261a4d2c1090d7e8cf7c9b804d82953f82dc (patch) | |
tree | 6903933458383344799577445bd72e3907400d0f /~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch | |
parent | a1e50fec714d1caf43a82d39ef0e29ccf9e0f4d2 (diff) | |
download | abslibre-4b53261a4d2c1090d7e8cf7c9b804d82953f82dc.tar.gz abslibre-4b53261a4d2c1090d7e8cf7c9b804d82953f82dc.tar.bz2 abslibre-4b53261a4d2c1090d7e8cf7c9b804d82953f82dc.zip |
timekpr-0.3.2-8: new package for ~emulatorman and social repo
Diffstat (limited to '~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch')
-rw-r--r-- | ~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch | 10 |
1 files changed, 10 insertions, 0 deletions
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) |