mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
minor index fix
This commit is contained in:
parent
9766f6025e
commit
2126a5ba12
|
@ -1820,7 +1820,7 @@ class LogRecorder(logging.StreamHandler):
|
|||
"""
|
||||
self.loghist.append({'levelname': record.levelname,
|
||||
'text': record.message % record.args if record.args else record.message,
|
||||
'id': len(self.loghist)})
|
||||
'id': len(self.loghist)+1})
|
||||
|
||||
if conf.fdLog:
|
||||
os.write(conf.fdLog, base64pickle(self.loghist))
|
||||
|
|
Loading…
Reference in New Issue
Block a user