mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Merge from trunk
This commit is contained in:
commit
b3014af31f
@ -363,7 +363,7 @@ class Metadata(object):
|
|||||||
if len(other_cover) > len(self_cover):
|
if len(other_cover) > len(self_cover):
|
||||||
self.cover_data = other.cover_data
|
self.cover_data = other.cover_data
|
||||||
|
|
||||||
if getattr(other, 'custom_field_keys', None):
|
if callable(getattr(other, 'custom_field_keys', None)):
|
||||||
for x in other.custom_field_keys():
|
for x in other.custom_field_keys():
|
||||||
meta = other.get_user_metadata(x, make_copy=True)
|
meta = other.get_user_metadata(x, make_copy=True)
|
||||||
if meta is not None:
|
if meta is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user