summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/XFSHoster.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/XFSHoster.py')
-rw-r--r--module/plugins/internal/XFSHoster.py8
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"))