mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
GwR patch for empty merge field
This commit is contained in:
parent
0013602286
commit
01469303ab
@ -4829,6 +4829,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