Remove blanks in text/is_multiple field representation

This commit is contained in:
Charles Haley 2010-09-03 16:33:59 +01:00
parent c15f91812b
commit 7ea0e19840
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ class MobileServer(object):
continue
name = CFM[key]['name']
if datatype == 'text' and CFM[key]['is_multiple']:
book[key] = concat(name, ', '.join(val.split('|')))
book[key] = concat(name, ','.join(val.split('|')))
elif datatype == 'series':
book[key] = concat(name, '%s [%s]'%(val,
fmt_sidx(record[CFM.cc_series_index_column_for(key)])))

View File

@ -105,7 +105,7 @@ class XMLServer(object):
name = CFM[key]['name']
custcols.append(k)
if datatype == 'text' and CFM[key]['is_multiple']:
kwargs[k] = concat(name, ', '.join(val.split('|')))
kwargs[k] = concat(name, ','.join(val.split('|')))
elif datatype == 'series':
kwargs[k] = concat(name, '%s [%s]'%(val,
fmt_sidx(record[CFM.cc_series_index_column_for(key)])))