Compare commits
2 commits
d40073c927
...
2556287a76
Author | SHA1 | Date | |
---|---|---|---|
2556287a76 | |||
cf5c8a5a01 |
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue