From 28db8b15db1e401292ec6d32bf6220e2b53ed159 Mon Sep 17 00:00:00 2001 From: WangXianming <119822522+muwenyan521@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:32:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E6=9D=A1=E7=BE=8E=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/manifest_down.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/manifest_down.py b/common/manifest_down.py index 13323f9..16bb1da 100644 --- a/common/manifest_down.py +++ b/common/manifest_down.py @@ -22,7 +22,7 @@ async def get(sha, path, repo, session): chunk_size = 1024 content = bytearray() - with tqdm_asyncio(total=total_size, unit='B', unit_scale=True, desc=f'下载 {path}') as pbar: + with tqdm_asyncio(total=total_size, unit='B', unit_scale=True, desc=f'🟢 下载 {path}', bar_format="{l_bar}{bar} [{n_fmt}/{total_fmt}] {postfix}") as pbar: async for chunk in r.content.iter_chunked(chunk_size): content.extend(chunk) pbar.update(len(chunk))