From 75623955296643dec925222ad77b426c8d1d76f8 Mon Sep 17 00:00:00 2001 From: SG Date: Fri, 12 May 2023 20:54:36 +0200 Subject: [PATCH] Some changes to progress bar --- transmat/transmat.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/transmat/transmat.py b/transmat/transmat.py index d642825..08980d2 100755 --- a/transmat/transmat.py +++ b/transmat/transmat.py @@ -188,11 +188,10 @@ async def main(): if chunk_id >= number_of_chunks-1: # This is the last chunk, exit - bar.index = 100 + f.close() bar.suffix = '%(percent).1f%% complete' bar.update() - f.close() - print("") + bar.finish() break