Fix FilterParser for much older 3.x custom_filters.xml files (#715)
Fixes #8075 Fixes #10669 Fixes #10516
This commit is contained in:
parent
6506e85ea9
commit
21206af12b
@ -62,6 +62,9 @@ class FilterParser(handler.ContentHandler):
|
||||
self.namespace = attrs['type']
|
||||
else:
|
||||
self.namespace = "generic"
|
||||
if self.namespace == 'MediaObject':
|
||||
# deals with older custom filters
|
||||
self.namespace = 'Media'
|
||||
elif tag == "filter":
|
||||
self.f = GenericFilterFactory(self.namespace)()
|
||||
self.f.set_name(attrs['name'])
|
||||
|
Loading…
Reference in New Issue
Block a user