summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r--module/ThreadManager.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index f9a306c78..f46f816e4 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -209,11 +209,18 @@ class ThreadManager:
thread.put(job)
else:
- #put job back
+ #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)
+ #check for decrypt jobs
+ job = self.core.files.getDecryptJob()
+ if job:
+ job.initPlugin()
+ thread = PluginThread.DecrypterThread(self, job)
+
+
else:
thread = PluginThread.DecrypterThread(self, job)