mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
undid changes adding uuid as dc:identifier in anticipation of Kovid's solution.
This commit is contained in:
parent
63a274dc32
commit
0b24cb8674
@ -289,9 +289,8 @@ def set_metadata(stream, mi, apply_null=False, update_timestamp=False):
|
||||
langs.append(lc)
|
||||
mi.languages = langs
|
||||
|
||||
reader.opf.smart_update(mi)
|
||||
reader.opf.add_uuid_identifier(mi.uuid)
|
||||
|
||||
reader.opf.smart_update(mi)
|
||||
if apply_null:
|
||||
if not getattr(mi, 'series', None):
|
||||
reader.opf.series = None
|
||||
|
@ -1163,9 +1163,6 @@ class OPF(object): # {{{
|
||||
temp.smart_update(mi, replace_metadata=replace_metadata)
|
||||
self._user_metadata_ = temp.get_all_user_metadata(True)
|
||||
|
||||
def add_uuid_identifier(self,uuid):
|
||||
setattr(self,'uuid',uuid)
|
||||
|
||||
# }}}
|
||||
|
||||
class OPFCreator(Metadata):
|
||||
|
Loading…
x
Reference in New Issue
Block a user