mirror of
https://github.com/lifegpc/pythonscript.git
synced 2026-06-17 13:24:22 +08:00
Update
This commit is contained in:
@@ -12,6 +12,7 @@ try:
|
|||||||
TimeRemainingColumn,
|
TimeRemainingColumn,
|
||||||
TransferSpeedColumn,
|
TransferSpeedColumn,
|
||||||
DownloadColumn,
|
DownloadColumn,
|
||||||
|
MofNCompleteColumn,
|
||||||
)
|
)
|
||||||
from rich.table import Table
|
from rich.table import Table
|
||||||
have_rich = True
|
have_rich = True
|
||||||
@@ -67,6 +68,7 @@ def main(args=None):
|
|||||||
SpinnerColumn(),
|
SpinnerColumn(),
|
||||||
BarColumn(),
|
BarColumn(),
|
||||||
TextColumn("[progress.percentage]{task.percentage:>3.0f}%"), # noqa: E501
|
TextColumn("[progress.percentage]{task.percentage:>3.0f}%"), # noqa: E501
|
||||||
|
MofNCompleteColumn(),
|
||||||
)
|
)
|
||||||
job_progress = Progress("{task.description}",
|
job_progress = Progress("{task.description}",
|
||||||
SpinnerColumn(),
|
SpinnerColumn(),
|
||||||
|
|||||||
Reference in New Issue
Block a user