Show More
@@ -114,7 +114,10 b' class progbar(object):' | |||
|
114 | 114 | progwidth = termwidth - used - 3 |
|
115 | 115 | if total: |
|
116 | 116 | amt = pos * progwidth // total |
|
117 |
bar = '=' * (amt |
|
|
117 | bar = '=' * (amt - 1) | |
|
118 | if amt > 0: | |
|
119 | bar += '>' | |
|
120 | bar += ' ' * (progwidth - amt) | |
|
118 | 121 | else: |
|
119 | 122 | progwidth -= 3 |
|
120 | 123 | self.indetcount += 1 |
General Comments 0
You need to be logged in to leave comments.
Login now