diff options
author | root <root@rshg054.dnsready.net> | 2013-02-02 00:54:57 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-02 00:54:57 -0800 |
commit | 2f5224819ae83de6e9d8de008d5f2dc24769cb0d (patch) | |
tree | 2360fd091d34099cfbc4f747babe6280da5cb65c /pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch | |
parent | edd3a17c9ed0cc3fa7fb62b4ad4178e064d46cda (diff) |
Sat Feb 2 00:54:57 PST 2013
Diffstat (limited to 'pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch')
-rw-r--r-- | pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch b/pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch new file mode 100644 index 000000000..870a2670a --- /dev/null +++ b/pcr/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) |