StringFilter called super on UnicodeFilter. fixed that

This commit is contained in:
Jeremy Carbaugh 2010-03-09 10:50:31 -05:00 committed by James Turk
parent 96e8dd7b45
commit f2d36f0d04

View File

@ -359,7 +359,7 @@ class UnicodeFilter(Filter):
class StringFilter(Filter): class StringFilter(Filter):
def __init__(self, encoding='utf-8', errors='ignore'): def __init__(self, encoding='utf-8', errors='ignore'):
super(UnicodeFilter, self).__init__() super(StringFilter, self).__init__()
self._encoding = encoding self._encoding = encoding
self._errors = errors self._errors = errors