Fix Python 2 compatibility for Newshounds

This commit is contained in:
Techwolf 2019-10-28 01:26:37 -07:00 committed by Tobias Gruetzmacher
parent 241732bbba
commit 1a938ffa05

View file

@ -74,7 +74,7 @@ class Newshounds(_ParserScraper):
# Add navigation link between comic and graphic novel # Add navigation link between comic and graphic novel
if url == self.stripUrl % 'nh2/20070201': if url == self.stripUrl % 'nh2/20070201':
return self.stripUrl % 'nh1/20061208' return self.stripUrl % 'nh1/20061208'
return super().getPrevUrl(url, data) return super(Newshounds, self).getPrevUrl(url, data)
class NewWorld(_WordPressScraper): class NewWorld(_WordPressScraper):