From e30cc7fd2de3ac4cb5f73a18e7a992f3eb858aac Mon Sep 17 00:00:00 2001 From: Tony Young Date: Sun, 16 Feb 2014 19:02:37 +1300 Subject: [PATCH] Correctly reschedule periodic tasks. --- pydle/async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydle/async.py b/pydle/async.py index e12fbcd..fbc1587 100644 --- a/pydle/async.py +++ b/pydle/async.py @@ -214,7 +214,7 @@ class EventLoop: def _periodic_handler(self, interval, callback, args, kwargs): # Call callback, and schedule again if it doesn't return False. - handle = self._do_schedule_in(interval, callback, args, kwargs) + handle = self._do_schedule_periodically(interval, callback, args, kwargs) result = False try: