summaryrefslogtreecommitdiff
path: root/tools/wasptool
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-10 19:31:26 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-10 19:31:26 (GMT)
commit8cf9369efa9083cccee36e7596d52e12ace362d3 (patch)
tree91d88ecc78d5fe060c457e22a9c892dcad18f41b /tools/wasptool
parent23368a659b6fcd69b62e2024dacb18bdf8146840 (diff)
tools: wasptool: Change characters used in the progress bar
Diffstat (limited to 'tools/wasptool')
-rwxr-xr-xtools/wasptool4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/wasptool b/tools/wasptool
index 698cc6c..bf60e9b 100755
--- a/tools/wasptool
+++ b/tools/wasptool
@@ -17,10 +17,10 @@ def pbar(iterable, quiet=False):
if not quiet:
percent = round(step * i, 1)
bar = int(percent) // 2
- print(f'[{"="*bar}{"-"*(50-bar)}] {percent}%', end='\r', flush=True)
+ print(f'[{"#"*bar}{"."*(50-bar)}] {percent}%', end='\r', flush=True)
yield v
if not quiet:
- print(f'[{"="*50}] 100% ')
+ print(f'[{"#"*50}] 100% ')
def sync(c):
"""Stop the watch and synchronize with the command prompt.