New Year revamp #40

Merged
FrederikBaerentsen merged 31 commits from gregoo/BrickTracker:master into master 2025-01-19 08:19:01 +01:00
Showing only changes of commit db9dbfae54 - Show all commits

View File

@ -150,9 +150,7 @@ class BrickSQL(object):
# Stats: fetchall # Stats: fetchall
self.stats.fetchall += 1 self.stats.fetchall += 1
logger.debug('SQLite3: fetchall: {query}'.format( logger.debug('SQLite3: fetchall')
query=BrickSQL.clean_query(query)
))
records = self.cursor.fetchall() records = self.cursor.fetchall()
# Stats: fetched # Stats: fetched
@ -173,9 +171,7 @@ class BrickSQL(object):
# Stats: fetchone # Stats: fetchone
self.stats.fetchone += 1 self.stats.fetchone += 1
logger.debug('SQLite3: fetchone: {query}'.format( logger.debug('SQLite3: fetchone')
query=BrickSQL.clean_query(query)
))
record = self.cursor.fetchone() record = self.cursor.fetchone()
# Stats: fetched # Stats: fetched