summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SmoozedCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 22:42:32 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-10 22:42:32 +0100
commit1f8ae39acba53cebb46331692515f2ed42f8e12d (patch)
tree7a9ddaf8cb6bda98f5c619764bf30a81540a2251 /module/plugins/hoster/SmoozedCom.py
parent[FilerNet] Fix https://github.com/pyload/pyload/issues/1201 (diff)
downloadpyload-1f8ae39acba53cebb46331692515f2ed42f8e12d.tar.xz
Update plugins after SimpleHoster changes
Diffstat (limited to 'module/plugins/hoster/SmoozedCom.py')
-rw-r--r--module/plugins/hoster/SmoozedCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/SmoozedCom.py b/module/plugins/hoster/SmoozedCom.py
index bd653ff59..fdb764151 100644
--- a/module/plugins/hoster/SmoozedCom.py
+++ b/module/plugins/hoster/SmoozedCom.py
@@ -7,7 +7,7 @@ from module.plugins.internal.MultiHoster import MultiHoster
class SmoozedCom(MultiHoster):
__name__ = "SmoozedCom"
__type__ = "hoster"
- __version__ = "0.03"
+ __version__ = "0.04"
__pattern__ = r'^unmatchable$' #: Since we want to allow the user to specify the list of hoster to use we let MultiHoster.coreReady
@@ -55,9 +55,9 @@ class SmoozedCom(MultiHoster):
self.link = header["location"][-1] if isinstance(header["location"], list) else header["location"]
- def checkFile(self):
+ def checkFile(self, rules={}):
if self.checkDownload({'error': '{"state":"error"}',
'retry': '{"state":"retry"}'}):
self.fail(_("Error response received"))
- return super(SmoozedCom, self).checkFile()
+ return super(SmoozedCom, self).checkFile(rules)