diff --git a/lib/core/dump.py b/lib/core/dump.py index 1e0570870..27db7625a 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -46,7 +46,6 @@ class Dump(object): """ This class defines methods used to parse and output the results of SQL injection actions - """ def __init__(self): diff --git a/lib/utils/api.py b/lib/utils/api.py index eef29fa7b..3d5143c99 100644 --- a/lib/utils/api.py +++ b/lib/utils/api.py @@ -200,7 +200,8 @@ class LogRecorder(logging.StreamHandler): communication with the parent process """ conf.database_cursor.execute("INSERT INTO logs VALUES(NULL, ?, ?, ?, ?)", - (conf.taskid, time.strftime("%X"), record.levelname, record.msg % record.args if record.args else record.msg)) + (conf.taskid, time.strftime("%X"), record.levelname, + record.msg % record.args if record.args else record.msg)) def setRestAPILog(): if hasattr(conf, "api"):