avoided quoting of "N of x" and "a to b".
This commit is contained in:
parent
12affbd240
commit
a7c15b4c00
|
@ -91,11 +91,11 @@ for name in filenames:
|
||||||
if type == '':
|
if type == '':
|
||||||
table.data = []
|
table.data = []
|
||||||
elif type == '.':
|
elif type == '.':
|
||||||
table.data = [str(former)]
|
table.data = [former]
|
||||||
elif type == 'to':
|
elif type == 'to':
|
||||||
table.data = ['{0} to {1}'.format(former-reps+1,former)]
|
table.data = [former-reps+1,'to',former]
|
||||||
elif type == 'of':
|
elif type == 'of':
|
||||||
table.data = ['{0} of {1}'.format(reps,former)]
|
table.data = [reps,'of',former]
|
||||||
|
|
||||||
outputAlive = table.data_write(delimiter = ' ') # output processed line
|
outputAlive = table.data_write(delimiter = ' ') # output processed line
|
||||||
|
|
||||||
|
@ -106,9 +106,9 @@ for name in filenames:
|
||||||
former = current
|
former = current
|
||||||
|
|
||||||
table.data = {
|
table.data = {
|
||||||
'.' : [str(former)],
|
'.' : [former],
|
||||||
'to': ['%i to %i'%(former-reps+1,former)],
|
'to': [former-reps+1,'to',former],
|
||||||
'of': ['%i of %i'%(reps,former)],
|
'of': [reps,'of',former],
|
||||||
}[type]
|
}[type]
|
||||||
|
|
||||||
outputAlive = table.data_write(delimiter = ' ') # output processed line
|
outputAlive = table.data_write(delimiter = ' ') # output processed line
|
||||||
|
|
Loading…
Reference in New Issue