Possible fix for style and images not included in produced pdf files on Windows.

This commit is contained in:
John Schember 2009-10-03 13:33:35 -04:00
parent 09988d93de
commit 7eba89285e

View File

@ -111,7 +111,8 @@ class PDFWriter(QObject):
self.logger.debug('Processing %s...' % item)
self.view.load(QUrl(item))
#self.view.load(QUrl(item))
self.view.setHtml(open(item, 'r+b').read().decode('utf-8'), QUrl(item))
def _render_html(self, ok):
if ok: