From 71ab8cfba4dd9187b90e6a77476a794faa66848b Mon Sep 17 00:00:00 2001 From: jeffser Date: Tue, 4 Jun 2024 12:13:48 -0600 Subject: [PATCH] Remove old file --- src/update_history.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/update_history.py b/src/update_history.py index bbd428e..4fd68a3 100644 --- a/src/update_history.py +++ b/src/update_history.py @@ -34,4 +34,5 @@ def update(self): with open(os.path.join(self.data_dir, "chats", "chats.json"), "w+") as f: json.dump(new_data, f, indent=6) + os.remove(os.path.join(self.config_dir, "chats.json"))