From eaa4b6d2f56efaee2f935a9b5d79b153cdf9b5da Mon Sep 17 00:00:00 2001 From: mkaay Date: Sun, 15 Aug 2010 13:36:42 +0200 Subject: fix --- module/ThreadManager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module') 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 + -- cgit v1.2.3