mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 05:12:35 +02:00
undid changes adding uuid as dc:identifier in anticipation of Kovid's solution.
This commit is contained in:
parent
63a274dc32
commit
0b24cb8674
2 changed files with 1 additions and 5 deletions
|
|
@ -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 @@ def smart_update(self, mi, replace_metadata=False):
|
|||
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…
Reference in a new issue