parent
08e39f5631
commit
4735ffba45
|
@ -162,7 +162,7 @@ class ParserBase(object):
|
||||||
return self.convert(FeedHTML).tostring(**k)
|
return self.convert(FeedHTML).tostring(**k)
|
||||||
|
|
||||||
def convert(self, TargetParser):
|
def convert(self, TargetParser):
|
||||||
if isinstance(self, TargetParser):
|
if type(self) == TargetParser:
|
||||||
return self
|
return self
|
||||||
|
|
||||||
target = TargetParser()
|
target = TargetParser()
|
||||||
|
|
Loading…
Reference in New Issue