summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-23 21:40:22 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-23 21:40:22 +0100
commit8da44b430b957b25e74dff63829d4198a52e7a0b (patch)
treef20fc60db6e7d9a93fe3ca60cd68a6e32b536fc6 /module/ThreadManager.py
parentoron version increase (diff)
parentlittle fixes (diff)
downloadpyload-8da44b430b957b25e74dff63829d4198a52e7a0b.tar.xz
merge hotfixes in
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r--module/ThreadManager.py3
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):