mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 14:04:12 +02:00
...
This commit is contained in:
parent
e7fa8fd894
commit
17c01d5c97
1 changed files with 0 additions and 1 deletions
|
|
@ -689,7 +689,6 @@ def load_path(self, path, pos=0.0):
|
|||
self.manager.load_started()
|
||||
self.loading_url = QUrl.fromLocalFile(path)
|
||||
if has_svg:
|
||||
prints('Rendering as XHTML...')
|
||||
self.setContent(QByteArray(html.encode(path.encoding)), mt, QUrl.fromLocalFile(path))
|
||||
else:
|
||||
self.setHtml(html, self.loading_url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue