From 9c385c83794cc330bd5559d22847cdcb8ddc2652 Mon Sep 17 00:00:00 2001 From: SG Date: Wed, 3 May 2023 18:19:53 +0200 Subject: [PATCH] Update progress bar for smaller files --- transmat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/transmat.py b/transmat.py index 2e18cfb..ccb6a05 100755 --- a/transmat.py +++ b/transmat.py @@ -190,6 +190,7 @@ async def main(): i += 1 bar.next() if i > msg["number_of_chunks"]: + bar.index = 100 bar.suffix = '%(percent).1f%% complete' bar.update() f.close()