diff options
author | 2014-03-28 22:32:14 +0100 | |
---|---|---|
committer | 2014-06-28 02:47:08 +0200 | |
commit | b1fffc3a1b2dbbb807213b85f538e59251b9bf35 (patch) | |
tree | c373d3234dcb474bb424371a3d89341bed8a9e07 /module/ThreadManager.py | |
parent | Plugins licensing doc (diff) | |
download | pyload-b1fffc3a1b2dbbb807213b85f538e59251b9bf35.tar.xz |
Remove bad whitespaces
Merged vuolter/pyload@00288e6
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r-- | module/ThreadManager.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |