From 3ef26c71cb3c23a876b95af77f6541c06227a937 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 3 Oct 2010 14:49:16 +0200 Subject: acc fixes, closed #134, closed #141 --- module/plugins/accounts/HotfileCom.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'module/plugins/accounts/HotfileCom.py') 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) -- cgit v1.2.3