From aef6932eacf750ccb0a6efd76611e68587a2a3c4 Mon Sep 17 00:00:00 2001 From: Steven Crawford Date: Fri, 13 Dec 2024 22:15:51 -0600 Subject: [PATCH] updated progress bar --- cmg-split-zip-smaller-chunks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmg-split-zip-smaller-chunks.py b/cmg-split-zip-smaller-chunks.py index 4e02a54..771b89b 100755 --- a/cmg-split-zip-smaller-chunks.py +++ b/cmg-split-zip-smaller-chunks.py @@ -19,7 +19,7 @@ def printProgressBar(iteration, total, prefix = '', suffix = '', decimals = 1, l """ percent = ("{0:." + str(decimals) + "f}").format(100 * (iteration / float(total))) filledLength = int(length * iteration // total) - bar = fill * filledLength + '-' * (length - filledLength) + bar = fill * filledLength + '|' * (length - filledLength) print(f'\r{prefix} |{bar}| {percent}% {suffix}', end = printEnd) # Print New Line on Complete if iteration == total: