Compare commits

..

2 commits

Author SHA1 Message Date
2556287a76
Delete index.html
Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
2018-09-01 17:08:38 +02:00
cf5c8a5a01
Fixed url
Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
2018-09-01 17:06:50 +02:00

View file

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