fix timer
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user