Fixed hub file writing
This commit is contained in:
parent
39b29a30c6
commit
46c75d1c17
|
@ -69,7 +69,7 @@ def timer_stop(msg):
|
|||
now = time.time()
|
||||
name = msg['from'] + msg['id']
|
||||
if name in timers:
|
||||
with open('time_differences', 'w') as f:
|
||||
with open('time_differences', 'a') as f:
|
||||
f.write(f'{msg["from"]},{now - timers[name]}')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user