summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-15 13:36:42 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-15 13:36:42 +0200
commiteaa4b6d2f56efaee2f935a9b5d79b153cdf9b5da (patch)
tree57765d7d442922c05e169cc0892648e647db4868 /module
parentpriority fix, unrar improve, serienjunkiesorg improve (diff)
downloadpyload-eaa4b6d2f56efaee2f935a9b5d79b153cdf9b5da.tar.xz
fix
Diffstat (limited to 'module')
-rw-r--r--module/ThreadManager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index 93ac8e78b..c660ed3e4 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -180,8 +180,10 @@ class ThreadManager:
thread.put(job)
else:
#put job back
+ if not self.core.files.jobCache.has_key(occ)
+ self.core.files.jobCache[occ] = []
self.core.files.jobCache[occ].append(job.id)
else:
thread = PluginThread.DecrypterThread(self, job)
- \ No newline at end of file
+