unneeded max
This commit is contained in:
parent
ac7b0d7e0e
commit
561005887a
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ def getComics(options):
|
|||
for scraperobj in getScrapers(options.comic, options.basepath, options.adult, options.multimatch):
|
||||
jobs.put(scraperobj)
|
||||
# start threads
|
||||
num_threads = max(1, min(options.parallel, jobs.qsize()))
|
||||
num_threads = min(options.parallel, jobs.qsize())
|
||||
for i in range(num_threads):
|
||||
t = ComicGetter(options)
|
||||
threads.append(t)
|
||||
|
|
Loading…
Reference in a new issue