aboutsummaryrefslogtreecommitdiff
path: root/src/Timers.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/Timers.py')
-rw-r--r--src/Timers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Timers.py b/src/Timers.py
index 8eff1013..e74d4a53 100644
--- a/src/Timers.py
+++ b/src/Timers.py
@@ -1,5 +1,5 @@
import time, typing, uuid
-from src import Database, EventManager, Logging
+from src import Database, EventManager, Logging, PollHook
class Timer(object):
def __init__(self, id: str, context: typing.Optional[str], name: str,
@@ -32,7 +32,7 @@ class Timer(object):
def done(self) -> bool:
return self._done
-class Timers(object):
+class Timers(PollHook.PollHook):
def __init__(self, database: Database.Database,
events: EventManager.Events,
log: Logging.Log):