From 2126a5ba12916c6336fdcada7d79e119965b7c17 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Thu, 10 Jan 2013 00:00:00 +0000 Subject: [PATCH] minor index fix --- lib/core/option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index e1c9f3b9b..4c624308f 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -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))