Compare commits

...

2 Commits

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

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