Skip to content

Commit 63259fa

Browse files
committed
blacken
1 parent 81c7928 commit 63259fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flush-print/progress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
def progress(percent=0, width=30):
5-
progress = (width * percent // 100)
5+
progress = width * percent // 100
66
bar = "#" * progress
77
pad = " " * (width - progress)
88
print(f"\r[{bar}{pad}] {percent:.0f}%", end="", flush=True)

0 commit comments

Comments
 (0)