diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-23 21:40:22 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-23 21:40:22 +0100 |
commit | 8da44b430b957b25e74dff63829d4198a52e7a0b (patch) | |
tree | f20fc60db6e7d9a93fe3ca60cd68a6e32b536fc6 /module/ThreadManager.py | |
parent | oron version increase (diff) | |
parent | little fixes (diff) | |
download | pyload-8da44b430b957b25e74dff63829d4198a52e7a0b.tar.xz |
merge hotfixes in
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r-- | module/ThreadManager.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py index 8937f4a29..033d80fdc 100644 --- a/module/ThreadManager.py +++ b/module/ThreadManager.py @@ -310,7 +310,8 @@ class ThreadManager: thread = PluginThread.DecrypterThread(self, job) def getLimit(self, thread): - limit = thread.active.plugin.account.getAccountData(thread.active.plugin.user)["options"].get("limitDL",["0"])[0] + limit = thread.active.plugin.account.options.get("limitDL","0") + if limit == "": limit = "0" return int(limit) def cleanup(self): |