From b1fffc3a1b2dbbb807213b85f538e59251b9bf35 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 28 Mar 2014 22:32:14 +0100 Subject: Remove bad whitespaces Merged vuolter/pyload@00288e6 --- module/ThreadManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/ThreadManager.py') diff --git a/module/ThreadManager.py b/module/ThreadManager.py index 8937f4a29..ec3e9efcf 100644 --- a/module/ThreadManager.py +++ b/module/ThreadManager.py @@ -146,7 +146,7 @@ class ThreadManager: self.log.warning("Assign job error", e) if self.core.debug: print_exc() - + sleep(0.5) self.assignJob() #it may be failed non critical so we try it again @@ -267,7 +267,7 @@ class ThreadManager: onlimit = [x[0] for x in inuse if x[1] > 0 and x[2] >= x[1]] occ = [x.active.pluginname for x in self.threads if x.active and x.active.hasPlugin() and not x.active.plugin.multiDL] + onlimit - + occ.sort() occ = tuple(set(occ)) job = self.core.files.getJob(occ) -- cgit v1.2.3