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