Issue #89: fix SVG encoding; remove progress bar.

This commit is contained in:
Sergey Vartanov 2021-09-25 07:49:30 +03:00
parent 394ca6a9d6
commit 067b815100
2 changed files with 4 additions and 1 deletions

View file

@ -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: