summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-11-07 23:03:29 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-11-07 23:03:29 +0100
commit624fd1d349f409c4a57beead710e4263c3984c4a (patch)
tree5943248c9066b081712ec026798d78f32456b865 /pyLoadCore.py
parent... just forgot something (diff)
downloadpyload-624fd1d349f409c4a57beead710e4263c3984c4a.tar.xz
account cache fix
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 """