diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-09-28 00:59:23 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-09-28 00:59:23 +0200 |
commit | b0058d33d2bdc68fa58476577b29d79a6cef7963 (patch) | |
tree | c8e6bbf2afa88616606c4dcccb1c00578cb57e0a /module | |
parent | [CatShareNet] Fixup (diff) | |
download | pyload-b0058d33d2bdc68fa58476577b29d79a6cef7963.tar.xz |
[CatShareNet] Fixup 2
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/CatShareNet.py | 4 |
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): |