summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-03 14:49:16 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-03 14:49:16 +0200
commit3ef26c71cb3c23a876b95af77f6541c06227a937 (patch)
tree481462718d3c99410cad9dd4e8ffab7eed8e1f6f /module/plugins/accounts
parentshare-online premium fix (revert to old design, coz new one is still buggy) (diff)
downloadpyload-3ef26c71cb3c23a876b95af77f6541c06227a937.tar.xz
acc fixes, closed #134, closed #141
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/HotfileCom.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/module/plugins/accounts/HotfileCom.py b/module/plugins/accounts/HotfileCom.py
index 5a3fdd6a5..f623e56f1 100644
--- a/module/plugins/accounts/HotfileCom.py
+++ b/module/plugins/accounts/HotfileCom.py
@@ -51,12 +51,9 @@ class HotfileCom(Account):
def apiCall(self, method, post={}, user=None):
if user:
- data = None
- for account in self.accounts.items():
- if account[0] == user:
- data = account[1]
+ data = self.getAccountData(user)
else:
- user, data = self.accounts.items()[0]
+ user, data = self.selectAccount()
req = self.getAccountRequest(user)