summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 00:59:23 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-28 00:59:23 +0200
commitb0058d33d2bdc68fa58476577b29d79a6cef7963 (patch)
treec8e6bbf2afa88616606c4dcccb1c00578cb57e0a /module
parent[CatShareNet] Fixup (diff)
downloadpyload-b0058d33d2bdc68fa58476577b29d79a6cef7963.tar.xz
[CatShareNet] Fixup 2
Diffstat (limited to 'module')
-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):