This commit is contained in:
2024-03-22 22:10:45 +08:00
parent 7964381e86
commit 383696bcbe

View File

@@ -12,6 +12,7 @@ try:
TimeRemainingColumn,
TransferSpeedColumn,
DownloadColumn,
MofNCompleteColumn,
)
from rich.table import Table
have_rich = True
@@ -67,6 +68,7 @@ def main(args=None):
SpinnerColumn(),
BarColumn(),
TextColumn("[progress.percentage]{task.percentage:>3.0f}%"), # noqa: E501
MofNCompleteColumn(),
)
job_progress = Progress("{task.description}",
SpinnerColumn(),