mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
calibredb: When listing formats of a book if there are multiple formats, separate the individual formats with the colon instead of the comma as commas can occur in filenames
This commit is contained in:
parent
a6c1e806c2
commit
6320eab8e8
@ -92,7 +92,7 @@ def do_list(db, fields, afields, sort_by, ascending, search_text, line_width, se
|
||||
|
||||
for f in data:
|
||||
fmts = [x for x in f['formats'] if x is not None]
|
||||
f['formats'] = u'[%s]'%u','.join(fmts)
|
||||
f['formats'] = u'[%s]'%u':'.join(fmts)
|
||||
widths = list(map(lambda x: 0, fields))
|
||||
for record in data:
|
||||
for f in record.keys():
|
||||
|
Loading…
x
Reference in New Issue
Block a user