summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/CatShareNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/CatShareNet.py')
-rw-r--r--module/plugins/hoster/CatShareNet.py4
1 files changed, 2 insertions, 2 deletions
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'<form action="(.+?)" method="GET">'
- 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):