software/LiteScopeAnalyzerDriver: Cosmetic cleanup on progress bar.

This commit is contained in:
Florent Kermarrec 2023-02-27 12:07:31 +01:00
parent 7105b47402
commit f249137ad6
1 changed files with 5 additions and 3 deletions

View File

@ -173,9 +173,11 @@ class LiteScopeAnalyzerDriver:
remaining -= rdw
sys.stdout.write("[{}>{}] {}%\r".format('=' * (20-20*remaining//length),
sys.stdout.write("[{}>{}] {}%\r".format(
'=' * (20-20*remaining//length),
' ' * (20*remaining//length),
100-(100*remaining//length)))
100-(100*remaining//length))
)
if self.debug:
print("")