fix: function was called twice each times

This commit is contained in:
Romain Bignon 2010-05-17 11:24:46 +02:00
commit 3f938a957b

View file

@ -62,5 +62,4 @@ class Scheduler(IScheduler):
self.stop_event.set() self.stop_event.set()
def _repeated_cb(self, interval, function, args): def _repeated_cb(self, interval, function, args):
function(*args)
self.repeat(interval, function, *args) self.repeat(interval, function, *args)