From 932a45b2552d916e57dc304565d34d17c2dc8aad Mon Sep 17 00:00:00 2001 From: HaoZeke Date: Fri, 22 Mar 2019 21:36:47 +0530 Subject: [PATCH] tracker: Flush without closing --- track/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/track/__main__.py b/track/__main__.py index b8ed31e..e146d6a 100644 --- a/track/__main__.py +++ b/track/__main__.py @@ -90,5 +90,6 @@ while True: last_offline = None sleep(15) printName = False + dataFile.flush() finally: dataFile.close()