From b0058d33d2bdc68fa58476577b29d79a6cef7963 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 28 Sep 2014 00:59:23 +0200 Subject: [CatShareNet] Fixup 2 --- module/plugins/hoster/CatShareNet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/CatShareNet.py') diff --git a/module/plugins/hoster/CatShareNet.py b/module/plugins/hoster/CatShareNet.py index f250f4099..c21d11579 100644 --- a/module/plugins/hoster/CatShareNet.py +++ b/module/plugins/hoster/CatShareNet.py @@ -27,11 +27,11 @@ class CatShareNet(SimpleHoster): LINK_PATTERN = r'
' - def process(self, pyfile): + def getFileInfo(self): m = re.search(self.IP_BLOCKED_PATTERN, self.html) if m is None: self.fail("Only connections from Polish IP address are allowed") - super(CatShareNet, self).process(pyfile) + return super(CatShareNet, self).getFileInfo() def handleFree(self): -- cgit v1.2.3