Update progress bar for smaller files

This commit is contained in:
SG
2023-05-03 18:19:53 +02:00
parent ad17c935ef
commit 9c385c8379

View File

@@ -190,6 +190,7 @@ async def main():
i += 1 i += 1
bar.next() bar.next()
if i > msg["number_of_chunks"]: if i > msg["number_of_chunks"]:
bar.index = 100
bar.suffix = '%(percent).1f%% complete' bar.suffix = '%(percent).1f%% complete'
bar.update() bar.update()
f.close() f.close()