Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9766f60 commit 2126a5bCopy full SHA for 2126a5b
1 file changed
lib/core/option.py
@@ -1820,7 +1820,7 @@ def emit(self, record):
1820
"""
1821
self.loghist.append({'levelname': record.levelname,
1822
'text': record.message % record.args if record.args else record.message,
1823
- 'id': len(self.loghist)})
+ 'id': len(self.loghist)+1})
1824
1825
if conf.fdLog:
1826
os.write(conf.fdLog, base64pickle(self.loghist))
0 commit comments