summaryrefslogtreecommitdiffstats
path: root/pyload
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 11:26:35 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-11 11:26:35 +0200
commitce65e4191a767704f248a071891699b65bd1d2a1 (patch)
tree092410d1729aa43610de0364a600c0b4a0ef4866 /pyload
parentadditional replace rule (diff)
downloadpyload-ce65e4191a767704f248a071891699b65bd1d2a1.tar.xz
fixed replace rule
Diffstat (limited to 'pyload')
-rw-r--r--pyload/plugins/Account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/Account.py b/pyload/plugins/Account.py
index eabfe6885..ac2aebe3e 100644
--- a/pyload/plugins/Account.py
+++ b/pyload/plugins/Account.py
@@ -185,6 +185,7 @@ class Account(Base):
"""
return -1, 0, True
+ # TODO: this method is ambiguous, it returns nothing, but just retrieves the data if needed
@lock
def getAccountInfo(self, force=False):
"""retrieve account info's for an user, do **not** overwrite this method!\\
@@ -192,7 +193,6 @@ class Account(Base):
:param name: username
:param force: reloads cached account information
- :return: dictionary with information
"""
if force or self.timestamp + self.info_threshold * 60 < time():