]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/eventloop.py
Bugfix: InitdHandler.timer_handler() had undefined variables.
[software/pymin.git] / pymin / eventloop.py
index b6be5a1003d891b7e857a166b9523647de3a3005..86b89324eae7cfeff644cf1623d02e827185325a 100644 (file)
@@ -147,6 +147,7 @@ class EventLoop:
         # If we use a timer, we set up the signal
         if self.timer is not None:
             signal.signal(signal.SIGALRM, alarm_handler)
         # If we use a timer, we set up the signal
         if self.timer is not None:
             signal.signal(signal.SIGALRM, alarm_handler)
+            self.handle_timer()
             signal.alarm(self.timer)
         while True:
             try:
             signal.alarm(self.timer)
         while True:
             try: