From 624fd1d349f409c4a57beead710e4263c3984c4a Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 7 Nov 2010 23:03:29 +0100 Subject: account cache fix --- pyLoadCore.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index 7818e7312..c08b29f60 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -753,10 +753,7 @@ class ServerMethods(): return self.core.pullManager.getEvents(uuid) def get_accounts(self, force=False, refresh=True): - if force: - return self.core.accountManager.getAccountInfos() - else: - return self.core.accountManager.getCachedAccountInfos(refresh) + return self.core.accountManager.getAccountInfos(force, refresh) def update_account(self, plugin, account, password=None, options={}): """ create and update account """ -- cgit v1.2.3