mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
New gitter link added or replaced (#8551)
* New gitter link added * ruff==0.0.258 * noqa: S310 * noqa: S310 * Update ruff.yml * Add Ruff rule S311 * Ruff v0.0.259 * return ("{:08x}" * 5).format(*self.h) * pickle.load(f) # noqa: S301 --------- Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
@ -86,7 +86,7 @@ def download_images_from_google_query(query: str = "dhaka", max_images: int = 5)
|
||||
path_name = f"query_{query.replace(' ', '_')}"
|
||||
if not os.path.exists(path_name):
|
||||
os.makedirs(path_name)
|
||||
urllib.request.urlretrieve(
|
||||
urllib.request.urlretrieve( # noqa: S310
|
||||
original_size_img, f"{path_name}/original_size_img_{index}.jpg"
|
||||
)
|
||||
return index
|
||||
|
Reference in New Issue
Block a user