Correctly reschedule periodic tasks.

This commit is contained in:
Tony Young 2014-02-16 19:02:37 +13:00
parent 71684ba0bd
commit e30cc7fd2d
1 changed files with 1 additions and 1 deletions

View File

@ -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: