mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
update
This commit is contained in:
parent
7b388a007e
commit
be4da21301
@ -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))
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user