mirror of https://github.com/Textualize/rich.git
Fix typo in examples/downloader.py
This commit is contained in:
parent
e8a9466b94
commit
2a87610f79
|
@ -61,7 +61,7 @@ def copy_url(task_id: TaskID, url: str, path: str) -> None:
|
||||||
|
|
||||||
|
|
||||||
def download(urls: Iterable[str], dest_dir: str):
|
def download(urls: Iterable[str], dest_dir: str):
|
||||||
"""Download multuple files to the given directory."""
|
"""Download multiple files to the given directory."""
|
||||||
|
|
||||||
with progress:
|
with progress:
|
||||||
with ThreadPoolExecutor(max_workers=4) as pool:
|
with ThreadPoolExecutor(max_workers=4) as pool:
|
||||||
|
|
Loading…
Reference in New Issue