From 85160d39ec00c396c0f07885f3744c501296f137 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sat, 27 Oct 2007 17:44:53 -0300 Subject: [PATCH] Excecute the timer at startup if enabled. --- pymin/eventloop.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pymin/eventloop.py b/pymin/eventloop.py index b6be5a1..86b8932 100644 --- a/pymin/eventloop.py +++ b/pymin/eventloop.py @@ -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: -- 2.43.0