summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/PremiumTo.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/PremiumTo.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/PremiumTo.py')
-rw-r--r--module/plugins/hoster/PremiumTo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/PremiumTo.py b/module/plugins/hoster/PremiumTo.py
index b66b9a505..164530e57 100644
--- a/module/plugins/hoster/PremiumTo.py
+++ b/module/plugins/hoster/PremiumTo.py
@@ -11,7 +11,7 @@ from module.utils import fs_encode
class PremiumTo(MultiHoster):
__name__ = "PremiumTo"
__type__ = "hoster"
- __version__ = "0.21"
+ __version__ = "0.22"
__pattern__ = r'^unmatchable$'
@@ -34,7 +34,7 @@ class PremiumTo(MultiHoster):
disposition=True)
- def checkFile(self):
+ def checkFile(self, rules={}):
if self.checkDownload({'nopremium': "No premium account available"}):
self.retry(60, 5 * 60, "No premium account available")
@@ -49,7 +49,7 @@ class PremiumTo(MultiHoster):
if err:
self.fail(err)
- return super(PremiumTo, self).checkFile()
+ return super(PremiumTo, self).checkFile(rules)
getInfo = create_getInfo(PremiumTo)