some improvements

This commit is contained in:
Bastian Schroll 2018-09-23 18:44:58 +02:00
parent 1837ba46af
commit 71065672a7
3 changed files with 15 additions and 1 deletions

View file

@ -87,6 +87,8 @@ class RepeatedTimer:
else:
logging.warning("timer overdue! interval: %0.3f sec. - runtime: %0.3f sec.", self._interval, runTime)
self._overdueCount += 1
logging.debug("repeatedTimer thread stopped: %s", self._thread.name)
@property
def restTime(self):
"""!Property to get remaining time till next call"""