Add missing @classmethod

This commit is contained in:
Bastian Kleineidam 2014-03-26 19:59:42 +01:00
parent c2cf58560e
commit 813e6876fc

View file

@ -17,6 +17,7 @@ class YAFGC(_BasicScraper):
tagre("img", "src", r'/img/navbar/go_to_previous\.gif')) tagre("img", "src", r'/img/navbar/go_to_previous\.gif'))
help = 'Index format: number' help = 'Index format: number'
@classmethod
def prevUrlModifier(cls, prevUrl): def prevUrlModifier(cls, prevUrl):
if prevUrl: if prevUrl:
return prevUrl.replace("www.yafgc.net", "yafgc.net") return prevUrl.replace("www.yafgc.net", "yafgc.net")