This commit is contained in:
恍兮惚兮 2024-04-30 20:31:27 +08:00
parent 7b388a007e
commit be4da21301
2 changed files with 3 additions and 3 deletions

View File

@ -549,8 +549,8 @@ class WebivewWidget(QWidget):
self.webview.bind("__on_load", self._on_load)
self.webview.init("""window.__on_load(window.location.href)""")
def _on_load(self, _, href):
self.on_load.emit(json.loads(href)[0])
def _on_load(self, href):
self.on_load.emit(href)
def __getattr__(self, name):
return getattr(self.webview, (name))

View File

@ -1,6 +1,6 @@
PyQt5==5.15.10
PyQt5-Qt5==5.15.2
webviewpy==1.0.5
webviewpy==1.1.0
nuitka==2.0.5
imageio
pefile