aboutsummaryrefslogtreecommitdiff
path: root/modules/timer.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-03-12 21:25:22 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-03-12 21:25:22 +0300
commitdfeee786f903e392dbef1519c7c246b9856ebab3 (patch)
treedd70739cc1e5ef270e1ab23bf3469285ca944283 /modules/timer.py
parenta00cd8b9c1e9866a58d135f3b64cc7e0f29c6d47 (diff)
display correct timings after restarting UI
Diffstat (limited to 'modules/timer.py')
-rw-r--r--modules/timer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/timer.py b/modules/timer.py
index 57a4f17a..ba92be33 100644
--- a/modules/timer.py
+++ b/modules/timer.py
@@ -33,3 +33,6 @@ class Timer:
res += ")"
return res
+
+ def reset(self):
+ self.__init__()