@@ -55,7 +55,8 @@ class DB():
@staticmethod
def sql(query, params={}):
- logger.debug(query, params)
+ logger.debug('Query : %s', query)
+ logger.debug('Params : %s', params)
if not DB.connect():
raise Exception('Can\'t connect to DB')