Fixed mapping of internationalized filters
svn: r58
This commit is contained in:
parent
cf29ca9696
commit
9b81beec56
@ -135,11 +135,15 @@ def load_filters(dir):
|
|||||||
name = plugin.get_name()
|
name = plugin.get_name()
|
||||||
else:
|
else:
|
||||||
name = plugin.__doc__
|
name = plugin.__doc__
|
||||||
|
|
||||||
for task in plugin.__dict__.keys():
|
for task in plugin.__dict__.keys():
|
||||||
if task == "create":
|
try:
|
||||||
filterMap[name] = plugin.__dict__[task]
|
if task == "create":
|
||||||
filterList.append(plugin.__doc__)
|
filterMap[name] = plugin.__dict__[task]
|
||||||
if task == "need_qualifier" :
|
filterList.append(name)
|
||||||
filterEnb[name] = plugin.__dict__[task]
|
if task == "need_qualifier" :
|
||||||
|
filterEnb[name] = plugin.__dict__[task]
|
||||||
|
except:
|
||||||
|
continue
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user