]> git.llucax.com Git - software/pymin.git/commitdiff
Excecute the timer at startup if enabled.
authorLeandro Lucarella <llucax@gmail.com>
Sat, 27 Oct 2007 20:44:53 +0000 (17:44 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Sat, 27 Oct 2007 20:44:53 +0000 (17:44 -0300)
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)
+            self.handle_timer()
             signal.alarm(self.timer)
         while True:
             try: