equal
deleted
inserted
replaced
119 add = topic |
119 add = topic |
120 elif indicator == 'number': |
120 elif indicator == 'number': |
121 if total: |
121 if total: |
122 add = b'%*d/%d' % (len(str(total)), pos, total) |
122 add = b'%*d/%d' % (len(str(total)), pos, total) |
123 else: |
123 else: |
124 add = str(pos) |
124 add = b'%d' % pos |
125 elif indicator.startswith('item') and item: |
125 elif indicator.startswith('item') and item: |
126 slice = 'end' |
126 slice = 'end' |
127 if '-' in indicator: |
127 if '-' in indicator: |
128 wid = int(indicator.split('-')[1]) |
128 wid = int(indicator.split('-')[1]) |
129 elif '+' in indicator: |
129 elif '+' in indicator: |