mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-22 13:36:26 +02:00
Issue #89: fix SVG encoding; remove progress bar.
This commit is contained in:
parent
394ca6a9d6
commit
067b815100
2 changed files with 4 additions and 1 deletions
|
@ -301,6 +301,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