summaryrefslogtreecommitdiff
path: root/jfr_playoff/db.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-12-31 13:11:23 +0100
committeremkael <emkael@tlen.pl>2019-12-31 13:11:23 +0100
commit69d869a96f4d608e55dc305e9f70f0d505c9d5d9 (patch)
tree92dd395b30513e870c956ace0a0cf5ea7340af79 /jfr_playoff/db.py
parent8230739ccf52970a61c68f414f0cf2812b79f766 (diff)
Logging details and code formatting
Diffstat (limited to 'jfr_playoff/db.py')
-rw-r--r--jfr_playoff/db.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/jfr_playoff/db.py b/jfr_playoff/db.py
index bca05d2..b85c5a4 100644
--- a/jfr_playoff/db.py
+++ b/jfr_playoff/db.py
@@ -24,7 +24,8 @@ class PlayoffDB(object):
return self.db_cursor
def __execute_query(self, db_name, sql, params):
- PlayoffLogger.get('db').info('query (%s): %s %s', db_name, sql.replace('\n', ' '), params)
+ PlayoffLogger.get('db').info(
+ 'query (%s): %s %s', db_name, sql.replace('\n', ' '), params)
self.db_cursor.execute(sql.replace('#db#', db_name), params)
def fetch(self, db_name, sql, params):