Index: dialin/ui/hd_simulator.py =================================================================== diff -u -rd3a22e97fad0b715b1e9fba138236334ae7dbb6d -rdb2b8f2dbb5876c6d02a9d2140b52322ae7dce4e --- dialin/ui/hd_simulator.py (.../hd_simulator.py) (revision d3a22e97fad0b715b1e9fba138236334ae7dbb6d) +++ dialin/ui/hd_simulator.py (.../hd_simulator.py) (revision db2b8f2dbb5876c6d02a9d2140b52322ae7dce4e) @@ -26,13 +26,7 @@ from random import random from copy import deepcopy import threading as threadsHere -# from threading import Timer -# from PySide2.QtCore import QTimer # TBD! Slot, Qt -from functools import wraps - - - def catch_exception(f): @functools.wraps(f) def func(*args, **kwargs): @@ -593,7 +587,7 @@ def run_demoTimer_timeout(self) -> None: while self.demoTimer.is_alive(): self.do_demoTimer_timeout() - time.sleep(1) + sleep(1) self.demoTimer.cancel() def do_demoTimer_timeout(self) -> None: