From 4169895f5038514b83f07e28109062c341bef1b1 Mon Sep 17 00:00:00 2001 From: Q Date: Tue, 4 Jun 2024 22:38:33 +0300 Subject: [PATCH] fix timer --- bin/clockcurses | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/clockcurses b/bin/clockcurses index f705a42..cde3ae8 100755 --- a/bin/clockcurses +++ b/bin/clockcurses @@ -201,7 +201,7 @@ def main(): t_new = now - start_t t_m, t_s = divmod(t_new, 60) t_h, t_m = divmod(t_m, 60) - f = 1- t_new %1 + f = 0 else: f = now % 1 t_s = float(t.tm_sec)