Fix breakage caused by update of markdown

This commit is contained in:
Kovid Goyal 2013-09-25 11:25:52 +05:30
parent 31accb5679
commit 83ee722a2e
2 changed files with 2 additions and 2 deletions

View File

@ -334,7 +334,7 @@ class Report(QDialog): # {{{
self.show_next() self.show_next()
def show_report(self, book_title, book_id, fmts, job, report): def show_report(self, book_title, book_id, fmts, job, report):
from calibre.ebooks.markdown.markdown import markdown from calibre.ebooks.markdown import markdown
self.current_log = job.details self.current_log = job.details
self.setWindowTitle(_('Polishing of %s')%book_title) self.setWindowTitle(_('Polishing of %s')%book_title)
self.view.setText(markdown('# %s\n\n'%book_title + report, self.view.setText(markdown('# %s\n\n'%book_title + report,

View File

@ -20,7 +20,7 @@ entry_points = {
'ebook-meta = calibre.ebooks.metadata.cli:main', 'ebook-meta = calibre.ebooks.metadata.cli:main',
'ebook-convert = calibre.ebooks.conversion.cli:main', 'ebook-convert = calibre.ebooks.conversion.cli:main',
'ebook-polish = calibre.ebooks.oeb.polish.main:main', 'ebook-polish = calibre.ebooks.oeb.polish.main:main',
'markdown-calibre = calibre.ebooks.markdown.markdown:main', 'markdown-calibre = calibre.ebooks.markdown.__main__:run',
'web2disk = calibre.web.fetch.simple:main', 'web2disk = calibre.web.fetch.simple:main',
'calibre-server = calibre.library.server.main:main', 'calibre-server = calibre.library.server.main:main',
'lrf2lrs = calibre.ebooks.lrf.lrfparser:main', 'lrf2lrs = calibre.ebooks.lrf.lrfparser:main',