Fixed base url
Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
This commit is contained in:
parent
0cd2b77eb1
commit
d40073c927
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ except OSError as exception:
|
||||||
html = html.replace("__IMG_PATH__", img)
|
html = html.replace("__IMG_PATH__", img)
|
||||||
|
|
||||||
web = QWebEngineView()
|
web = QWebEngineView()
|
||||||
web.setHtml(html,QUrl("file://" + exe_dir + "/index.html"))
|
web.setHtml(html,QUrl("file://" + exe_dir + "/"))
|
||||||
web.setWindowTitle(img)
|
web.setWindowTitle(img)
|
||||||
web.showMaximized()
|
web.showMaximized()
|
||||||
web.show()
|
web.show()
|
||||||
|
|
Loading…
Reference in a new issue