mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-15 17:21:50 +02:00
Merge main.
This commit is contained in:
commit
124ba3e171
14 changed files with 45 additions and 17 deletions
|
@ -338,6 +338,9 @@ def progress_bar(
|
|||
subsequently)
|
||||
:param text: short description
|
||||
"""
|
||||
if number == 0:
|
||||
sys.stdout.write(text + "...\n")
|
||||
return
|
||||
if number == -1:
|
||||
sys.stdout.write(f"100 % {length * '█'}▏{text}\n")
|
||||
elif number % step == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue