Show More
@@ -119,8 +119,8 b' class progbar(object):' | |||
|
119 | 119 | add = topic |
|
120 | 120 | elif indicator == 'number': |
|
121 | 121 | if total: |
|
122 |
|
|
|
123 |
|
|
|
122 | padamount = '%d' % len(str(total)) | |
|
123 | add = ('% '+ padamount + 's/%s') % (pos, total) | |
|
124 | 124 | else: |
|
125 | 125 | add = str(pos) |
|
126 | 126 | elif indicator.startswith('item') and item: |
General Comments 0
You need to be logged in to leave comments.
Login now