summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/HotfileCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/HotfileCom.py')
-rw-r--r--module/plugins/hoster/HotfileCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/HotfileCom.py b/module/plugins/hoster/HotfileCom.py
index 78fd14cf6..f3c6b67dd 100644
--- a/module/plugins/hoster/HotfileCom.py
+++ b/module/plugins/hoster/HotfileCom.py
@@ -53,7 +53,7 @@ class HotfileCom(Hoster):
if not self.account and login:
return
elif self.account and login:
- return self.account.apiCall(method, post)
+ return self.account.apiCall(method, post, self.user)
post.update({"action": method})
return self.load("http://api.hotfile.com/", post=post)
@@ -79,7 +79,7 @@ class HotfileCom(Hoster):
self.freeDownload()
else:
- dl = self.account.apiCall("getdirectdownloadlink", {"link":self.pyfile.url})
+ dl = self.account.apiCall("getdirectdownloadlink", {"link":self.pyfile.url}, self.user)
self.download(dl)
def downloadHTML(self):