Fixed base url

Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
This commit is contained in:
Rémi BERTHO 2018-09-01 16:20:57 +02:00
parent 0cd2b77eb1
commit d40073c927
Signed by: dalan
GPG key ID: EE3B917931C07B64

View file

@ -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()