From d9fb6dcee2f9330d07c3de9fcefead90a8e6a31f Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Thu, 21 Jul 2022 06:14:33 -0400 Subject: Removed leftover debugging command --- database.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/database.py b/database.py index 039a893..865fcd6 100644 --- a/database.py +++ b/database.py @@ -47,9 +47,6 @@ class Database(object): # Delete item from DB if not needed to keep database small if sec_played == 0: c.execute("DELETE FROM playstate WHERE item_id=?",(item_id,)) - with open("log","a") as log: - log.write("deleted " + item_id + " from playstate db\n") - else: c.execute("SELECT * FROM playstate WHERE item_id=?",(item_id,)) -- cgit v1.2.3