From af32445e2dc77940a20a19e91e478058fa8b447c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 22 Feb 2013 10:18:06 +0530 Subject: [PATCH] ... --- src/calibre/db/write.py | 2 +- src/calibre/ebooks/oeb/polish/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/db/write.py b/src/calibre/db/write.py index 8b0f96107a..b12094225c 100644 --- a/src/calibre/db/write.py +++ b/src/calibre/db/write.py @@ -145,7 +145,7 @@ class Writer(object): self.field = field dt = field.metadata['datatype'] self.accept_vals = lambda x: True - if dt == 'composite' or field.name in {'cover', 'size', 'path'}: + if dt == 'composite' or field.name in {'id', 'cover', 'size', 'path'}: self.set_books_func = dummy elif field.is_many: # TODO: Implement this diff --git a/src/calibre/ebooks/oeb/polish/main.py b/src/calibre/ebooks/oeb/polish/main.py index 7a2439c4ec..1691b52cad 100644 --- a/src/calibre/ebooks/oeb/polish/main.py +++ b/src/calibre/ebooks/oeb/polish/main.py @@ -76,7 +76,7 @@ etc.

'''), '''), 'smarten_punctuation': _('''\ -

Convert plain text, dashes, ellipsis, multiple hyphens, etc. into their +

Convert plain text dashes, ellipsis, multiple hyphens, etc. into their typographically correct equivalents.

Note that the algorithm can sometimes generate incorrect results, especially when single quotes at the start of contractions are involved.