Update progress bar for smaller files
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user