Remove old file

This commit is contained in:
jeffser 2024-06-04 12:13:48 -06:00
parent 0ec812099c
commit 71ab8cfba4

View File

@ -34,4 +34,5 @@ def update(self):
with open(os.path.join(self.data_dir, "chats", "chats.json"), "w+") as f: with open(os.path.join(self.data_dir, "chats", "chats.json"), "w+") as f:
json.dump(new_data, f, indent=6) json.dump(new_data, f, indent=6)
os.remove(os.path.join(self.config_dir, "chats.json"))