mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
CSV Catalog output: Fix incorrect formatting of is_multiple custom columns. Fixes #1602908 [output catalog of the books problem](https://bugs.launchpad.net/calibre/+bug/1602908)
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
e61b0829eb
@ -116,6 +116,8 @@ class CSV_XML(CatalogPlugin):
|
||||
for field in fields:
|
||||
if field.startswith('#'):
|
||||
item = db.get_field(entry['id'], field, index_is_id=True)
|
||||
if isinstance(item, (list, tuple)):
|
||||
item = ', '.join(item)
|
||||
elif field == 'library_name':
|
||||
item = current_library
|
||||
elif field == 'title_sort':
|
||||
|
Loading…
x
Reference in New Issue
Block a user