From 1fc364fa07b9fb8245a17aab0ed0f907d26e68dd Mon Sep 17 00:00:00 2001 From: shortcutme Date: Mon, 15 Oct 2018 13:01:44 +0200 Subject: [PATCH] Remove unused lines from dbCursor --- src/Db/DbCursor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Db/DbCursor.py b/src/Db/DbCursor.py index 8697f350..464f35b6 100644 --- a/src/Db/DbCursor.py +++ b/src/Db/DbCursor.py @@ -65,7 +65,6 @@ class DbCursor: s = time.time() - # if query == "COMMIT": self.logging = True # Turn logging back on transaction commit if params: # Query has parameters res = self.cursor.execute(query, params) @@ -83,7 +82,6 @@ class DbCursor: self.db.query_stats[query]["call"] += 1 self.db.query_stats[query]["time"] += time.time() - s - # if query == "BEGIN": self.logging = False # Turn logging off on transaction commit return res # Creates on updates a database row without incrementing the rowid