summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py5
1 files changed, 1 insertions, 4 deletions
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 """