diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-03 14:49:16 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-03 14:49:16 +0200 |
commit | 3ef26c71cb3c23a876b95af77f6541c06227a937 (patch) | |
tree | 481462718d3c99410cad9dd4e8ffab7eed8e1f6f /module/plugins/accounts | |
parent | share-online premium fix (revert to old design, coz new one is still buggy) (diff) | |
download | pyload-3ef26c71cb3c23a876b95af77f6541c06227a937.tar.xz |
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/HotfileCom.py | 7 |
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) |