This commit is contained in:
Kovid Goyal 2013-02-22 10:18:06 +05:30
parent 784093796e
commit af32445e2d
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ class Writer(object):
self.field = field self.field = field
dt = field.metadata['datatype'] dt = field.metadata['datatype']
self.accept_vals = lambda x: True 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 self.set_books_func = dummy
elif field.is_many: elif field.is_many:
# TODO: Implement this # TODO: Implement this

View File

@ -76,7 +76,7 @@ etc.</p>'''),
'''), '''),
'smarten_punctuation': _('''\ 'smarten_punctuation': _('''\
<p>Convert plain text, dashes, ellipsis, multiple hyphens, etc. into their <p>Convert plain text dashes, ellipsis, multiple hyphens, etc. into their
typographically correct equivalents.</p> typographically correct equivalents.</p>
<p>Note that the algorithm can sometimes generate incorrect results, especially <p>Note that the algorithm can sometimes generate incorrect results, especially
when single quotes at the start of contractions are involved.</p> when single quotes at the start of contractions are involved.</p>