Fixed hub file writing

This commit is contained in:
hornet 2021-12-02 10:01:08 -05:00
parent 39b29a30c6
commit 46c75d1c17

View File

@ -69,7 +69,7 @@ def timer_stop(msg):
now = time.time() now = time.time()
name = msg['from'] + msg['id'] name = msg['from'] + msg['id']
if name in timers: 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]}') f.write(f'{msg["from"]},{now - timers[name]}')