mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
minor index fix
This commit is contained in:
parent
9766f6025e
commit
2126a5ba12
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue