Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8bd3c9

Browse files
committed
cosmetics
1 parent 1907c7c commit e8bd3c9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/dump.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class Dump(object):
4646
"""
4747
This class defines methods used to parse and output the results
4848
of SQL injection actions
49-
5049
"""
5150

5251
def __init__(self):

lib/utils/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ def emit(self, record):
200200
communication with the parent process
201201
"""
202202
conf.database_cursor.execute("INSERT INTO logs VALUES(NULL, ?, ?, ?, ?)",
203-
(conf.taskid, time.strftime("%X"), record.levelname, record.msg % record.args if record.args else record.msg))
203+
(conf.taskid, time.strftime("%X"), record.levelname,
204+
record.msg % record.args if record.args else record.msg))
204205

205206
def setRestAPILog():
206207
if hasattr(conf, "api"):

0 commit comments

Comments
 (0)