From 46c75d1c17087affad0b0304194ef89181b7ecc5 Mon Sep 17 00:00:00 2001 From: hornet Date: Thu, 2 Dec 2021 10:01:08 -0500 Subject: [PATCH] Fixed hub file writing --- src/hub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hub.py b/src/hub.py index 7f7aec1..7d5ac4f 100644 --- a/src/hub.py +++ b/src/hub.py @@ -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]}')