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
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ except OSError as exception:
html = html.replace("__IMG_PATH__", img)
web = QWebEngineView()
web.setHtml(html,QUrl("file://" + exe_dir + "/index.html"))
web.setHtml(html,QUrl("file://" + exe_dir + "/"))
web.setWindowTitle(img)
web.showMaximized()
web.show()