diff options
Diffstat (limited to 'module/plugins/accounts/HotfileCom.py')
-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) |