From 7194c638130b229b7903ff1d11dba5fd90b76b4c Mon Sep 17 00:00:00 2001 From: Sakimori Date: Sat, 26 Dec 2020 05:11:47 -0500 Subject: [PATCH] Update database.py removed an extraneous print --- database.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/database.py b/database.py index 5646b07..1db05e7 100644 --- a/database.py +++ b/database.py @@ -252,7 +252,6 @@ def add_stats(player_game_stats_list): for (name, player_stats_dic) in player_game_stats_list: c.execute("SELECT * FROM stats WHERE name=?",(name,)) this_player = c.fetchone() - print(this_player) if this_player is not None: for stat in player_stats_dic.keys(): c.execute(f"SELECT {stat} FROM stats WHERE name=?",(name,)) @@ -263,4 +262,4 @@ def add_stats(player_game_stats_list): for stat in player_stats_dic.keys(): c.execute(f"UPDATE stats SET {stat} = ? WHERE name=?",(player_stats_dic[stat],name)) conn.commit() - conn.close() \ No newline at end of file + conn.close()