mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
5785023722
commit
a326b9fe0f
@ -504,7 +504,7 @@ class Notes:
|
||||
doc, searchable_text, res, old_item_val = (str(x, 'utf-8') for x in parts)
|
||||
else:
|
||||
doc, searchable_text, res = (str(x, 'utf-8') for x in parts)
|
||||
old_item_val = searchable_text.split('\n')[0]
|
||||
old_item_val = searchable_text.split('\n', 1)[0]
|
||||
except Exception as err:
|
||||
errors.append(_('Failed to parse document for: {0} with error: {1}').format(old_item_id, err))
|
||||
report_progress('', i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user