avoided quoting of "N of x" and "a to b".

This commit is contained in:
Philip Eisenlohr 2016-05-17 11:29:31 -04:00
parent 12affbd240
commit a7c15b4c00
1 changed files with 6 additions and 6 deletions

View File

@ -91,11 +91,11 @@ for name in filenames:
if type == '':
table.data = []
elif type == '.':
table.data = [str(former)]
table.data = [former]
elif type == 'to':
table.data = ['{0} to {1}'.format(former-reps+1,former)]
table.data = [former-reps+1,'to',former]
elif type == 'of':
table.data = ['{0} of {1}'.format(reps,former)]
table.data = [reps,'of',former]
outputAlive = table.data_write(delimiter = ' ') # output processed line
@ -106,9 +106,9 @@ for name in filenames:
former = current
table.data = {
'.' : [str(former)],
'to': ['%i to %i'%(former-reps+1,former)],
'of': ['%i of %i'%(reps,former)],
'.' : [former],
'to': [former-reps+1,'to',former],
'of': [reps,'of',former],
}[type]
outputAlive = table.data_write(delimiter = ' ') # output processed line