fix
This commit is contained in:
parent
5398f1f0e4
commit
be65dfa5c1
@ -80,7 +80,7 @@ def download_images(image_urls, dst_dir, file_prefix="img", concurrency=50, time
|
||||
:param concurrency: number of requests process simultaneously
|
||||
:return: none
|
||||
"""
|
||||
concurrency = int(image_urls)
|
||||
concurrency = len(image_urls)
|
||||
with concurrent.futures.ThreadPoolExecutor(max_workers=concurrency) as executor:
|
||||
future_list = list()
|
||||
count = 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user