mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Have metadata.book.set_all_user_metadata actually set the metadata, not merge it.
This commit is contained in:
parent
6fff7a0ee5
commit
f730500c3d
@ -391,7 +391,7 @@ class Metadata(object):
|
|||||||
m['#value#'] = None
|
m['#value#'] = None
|
||||||
um[key] = m
|
um[key] = m
|
||||||
_data = object.__getattribute__(self, '_data')
|
_data = object.__getattribute__(self, '_data')
|
||||||
_data['user_metadata'].update(um)
|
_data['user_metadata'] = um
|
||||||
|
|
||||||
def set_user_metadata(self, field, metadata):
|
def set_user_metadata(self, field, metadata):
|
||||||
'''
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user