accurate progress bar

#63
This commit is contained in:
BennyThink 2022-02-16 21:39:01 +08:00
parent 58cb198f0c
commit f25f719f7c
No known key found for this signature in database
GPG Key ID: 6CD0DBDA5235D481

View File

@ -64,7 +64,7 @@ def tqdm_progress(desc, total, finished, speed="", eta=""):
)
raw_output = f.getvalue()
tqdm_output = raw_output.split("|")
progress = f"[{tqdm_output[1]}]"
progress = f"`[{tqdm_output[1]}]`"
detail = tqdm_output[2]
text = f"""
{desc}