Cosmetics, put imports at top of file
This commit is contained in:
parent
e02c0bf52e
commit
5e321686d0
@ -43,6 +43,10 @@ from rich.progress import (
|
|||||||
TransferSpeedColumn,
|
TransferSpeedColumn,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# TODO set locale for datetime and others to globally stick to en_US
|
||||||
|
download_start_time = 0
|
||||||
|
download_last_update_time = 0
|
||||||
|
size_downloaded = 0
|
||||||
progress = Progress(
|
progress = Progress(
|
||||||
TextColumn("[bold blue]{task.fields[filename]}", justify="right"),
|
TextColumn("[bold blue]{task.fields[filename]}", justify="right"),
|
||||||
BarColumn(bar_width=None),
|
BarColumn(bar_width=None),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user