Fixed mapping of internationalized filters

svn: r58
This commit is contained in:
Don Allingham 2001-05-24 01:16:16 +00:00
parent cf29ca9696
commit 9b81beec56

View File

@ -137,9 +137,13 @@ def load_filters(dir):
name = plugin.__doc__
for task in plugin.__dict__.keys():
if task == "create":
filterMap[name] = plugin.__dict__[task]
filterList.append(plugin.__doc__)
if task == "need_qualifier" :
filterEnb[name] = plugin.__dict__[task]
try:
if task == "create":
filterMap[name] = plugin.__dict__[task]
filterList.append(name)
if task == "need_qualifier" :
filterEnb[name] = plugin.__dict__[task]
except:
continue