summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
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
+