From e1649241078bc9f4d66e43e858f45f00c98fb007 Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 15 Apr 2013 22:42:16 +0200 Subject: [PATCH] Correction de bug : l'index des auteurs incluait l'index des titres --- index.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.py b/index.py index 41d09d15..2c06e722 100644 --- a/index.py +++ b/index.py @@ -57,8 +57,9 @@ def processSXD(filename): return idx class index: - data = dict() - keywords = dict() + def __init__(self): + self.data = dict() + self.keywords = dict() def filter(self, key): letter = firstLetterPattern.match(key).group(1)