fix: function was called twice each times
This commit is contained in:
parent
d913819c01
commit
3f938a957b
1 changed files with 3 additions and 4 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue