summaryrefslogtreecommitdiff
path: root/state_tracker.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2022-02-08 21:13:09 -0800
committerScott Gasch <[email protected]>2022-02-08 21:13:09 -0800
commit2e2eab8453f1d7f85236f306283e2987562995d0 (patch)
treebcefa40d684ff10198496608b0ab3c448e44b935 /state_tracker.py
parent2f5b47c8b30d1b7d86443391332be2f3805cdafd (diff)
Fighting with type hints.
Diffstat (limited to 'state_tracker.py')
-rw-r--r--state_tracker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/state_tracker.py b/state_tracker.py
index b375f89..1cf62af 100644
--- a/state_tracker.py
+++ b/state_tracker.py
@@ -109,7 +109,7 @@ class AutomaticStateTracker(StateTracker):
"""
@background_thread
- def pace_maker(self, should_terminate) -> None:
+ def pace_maker(self, should_terminate: threading.Event) -> None:
"""Entry point for a background thread to own calling heartbeat()
at regular intervals so that the main thread doesn't need to do
so.