mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix for bug #846183: unhandled exception converting to PDF.
This commit is contained in:
parent
5f8e8454e2
commit
5804d188d9
@ -202,7 +202,7 @@ class PDFWriter(QObject): # {{{
|
||||
inputPDF = PdfFileReader(item_stream)
|
||||
for page in inputPDF.pages:
|
||||
outPDF.addPage(page)
|
||||
outPDF.write(self.out_stream)
|
||||
outPDF.write(self.out_stream)
|
||||
finally:
|
||||
self._delete_tmpdir()
|
||||
self.loop.exit(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user