mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2003729 [RecursionError when embedding metadata into PDF](https://bugs.launchpad.net/calibre/+bug/2003729)
This commit is contained in:
parent
cf570250b2
commit
7aec1cda0d
@ -2651,7 +2651,7 @@ class Cache:
|
|||||||
fmts = field.table.book_col_map.get(book_id, ())
|
fmts = field.table.book_col_map.get(book_id, ())
|
||||||
if not fmts:
|
if not fmts:
|
||||||
continue
|
continue
|
||||||
mi = self.get_metadata(book_id, get_cover=True, cover_as_data=True)
|
mi = self._get_metadata(book_id, get_cover=True, cover_as_data=True)
|
||||||
try:
|
try:
|
||||||
path = self._field_for('path', book_id).replace('/', os.sep)
|
path = self._field_for('path', book_id).replace('/', os.sep)
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user