From 58a1365752292ee21a11108737fe16489cb8625c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 22 Sep 2015 08:02:46 +0530 Subject: [PATCH] Fix #1498207 [Edit Book: CheckBook and identifiers](https://bugs.launchpad.net/calibre/+bug/1498207) --- src/calibre/ebooks/oeb/polish/check/opf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/oeb/polish/check/opf.py b/src/calibre/ebooks/oeb/polish/check/opf.py index 7964af1b7b..cc2ed6a2e4 100644 --- a/src/calibre/ebooks/oeb/polish/check/opf.py +++ b/src/calibre/ebooks/oeb/polish/check/opf.py @@ -193,7 +193,7 @@ class NoUID(BaseError): def __call__(self, container): import uuid opf = container.opf - uid = str(uuid.uuid4()) + uid = 'u' + str(uuid.uuid4()) opf.set('unique-identifier', uid) m = container.opf_xpath('/opf:package/opf:metadata') if not m: