mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-08-29 19:21:34 +00:00
The next generation branch has been added
This commit is contained in:
@@ -27,8 +27,8 @@ class RepeatingTimer(threading.Thread):
|
||||
while not self.finished.is_set():
|
||||
self.finished.wait(self.interval)
|
||||
if not self.finished.is_set(): #In case someone has canceled while waiting
|
||||
try:
|
||||
self.function(*self.args, **self.kwargs)
|
||||
except:
|
||||
pass
|
||||
# try:
|
||||
self.function(*self.args, **self.kwargs)
|
||||
# except:
|
||||
# pass
|
||||
# logging.exception("Execution failed. Function: %r args: %r and kwargs: %r" % (self.function, self.args, self.kwargs))
|
||||
|
Reference in New Issue
Block a user