mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-08 16:26:03 +01:00
Edit Book: Fix book being marked as modified even when no actual changes were done by various automated tools such as Smarten Punctuation, Subset Fonts, etc.
This commit is contained in:
parent
625e3935ed
commit
5de25ec5c1
1 changed files with 2 additions and 1 deletions
|
|
@ -403,7 +403,8 @@ def polish(self, action, name):
|
|||
except:
|
||||
self.rewind_savepoint()
|
||||
raise
|
||||
self.apply_container_update_to_gui()
|
||||
if changed:
|
||||
self.apply_container_update_to_gui()
|
||||
from calibre.ebooks.markdown import markdown
|
||||
report = markdown('# %s\n\n'%self.current_metadata.title + '\n\n'.join(report), output_format='html4')
|
||||
if not changed:
|
||||
|
|
|
|||
Loading…
Reference in a new issue