diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-31 00:05:39 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-31 00:05:39 +0100 |
commit | be51f9235eb555be07b9d5cc0a34c73b75ac0cfe (patch) | |
tree | 6c784133c1af5caf959ef13ef8e43c4f12dfd003 /module/plugins/internal/XFSHoster.py | |
parent | [SimpleHoster] Clean lastDownload when download fails (diff) | |
download | pyload-be51f9235eb555be07b9d5cc0a34c73b75ac0cfe.tar.xz |
Handle methods get pyfile argument
Diffstat (limited to 'module/plugins/internal/XFSHoster.py')
-rw-r--r-- | module/plugins/internal/XFSHoster.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py index 4555e7b0f..474e2ec10 100644 --- a/module/plugins/internal/XFSHoster.py +++ b/module/plugins/internal/XFSHoster.py @@ -82,7 +82,7 @@ class XFSHoster(SimpleHoster): self.directDL = bool(self.premium) - def handleFree(self): + def handleFree(self, pyfile=None): link = self.getDownloadLink() if link: @@ -101,8 +101,8 @@ class XFSHoster(SimpleHoster): self.fail(_("Download link not found")) - def handlePremium(self): - return self.handleFree() + def handlePremium(self, pyfile=None): + return self.handleFree(pyfile) def getDownloadLink(self): @@ -139,7 +139,7 @@ class XFSHoster(SimpleHoster): return m.group(1).strip() #@TODO: Remove .strip() in 0.4.10 - def handleMulti(self): + def handleMulti(self, pyfile=None): if not self.account: self.fail(_("Only registered or premium users can use url leech feature")) |