mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Catalog generation: Handle merge of comments + custom field when custom filed is None
This commit is contained in:
commit
c34e9fd7f8
@ -4826,6 +4826,8 @@ class EPUB_MOBI(CatalogPlugin):
|
||||
addendum = self.__db.get_field(record['id'],
|
||||
self.__merge_comments['field'],
|
||||
index_is_id=True)
|
||||
if addendum is None:
|
||||
addendum = ''
|
||||
include_hr = eval(self.__merge_comments['hr'])
|
||||
if self.__merge_comments['position'] == 'before':
|
||||
merged = addendum
|
||||
|
Loading…
x
Reference in New Issue
Block a user