Merge commit 'tomv_w/master'
authorJoerg Jaspert <joerg@debian.org>
Tue, 30 Dec 2008 20:19:25 +0000 (21:19 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 30 Dec 2008 20:19:25 +0000 (21:19 +0100)
* commit 'tomv_w/master':
  try to fix calculations without introducing bugs

1  2 
Dak/plugin.py

diff --cc Dak/plugin.py
@@@ -27,11 -29,10 +29,10 @@@ class Dak(callbacks.Plugin)
          self.__parent.__init__(irc)
          self.irc = irc
          self.fname = "dinstallcheck"
 -        self.dinstallhour = [1, 7, 13, 18, 19, 19]
 +        self.dinstallhour = [1, 7, 13, 19]
          self.dinstallmin = self.registryValue('dinstallminute')
-         warntime=10
-         self.warnframe = [i%60 for i in range(self.dinstallmin-warntime, self.dinstallmin+warntime+1, 1)]
-         self.dinstallframe = [i%60 for i in range(self.dinstallmin, self.dinstallmin+5, 1)]
+         self.warntime=10
+         self.dinstallduration=4
          self.channel = self.registryValue('channel')
          self.locks = {}