mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[utils] Fix pywebview deprecation issue (#423)
This commit is contained in:
parent
3d1042e27e
commit
ec91f69adc
|
@ -127,7 +127,7 @@ def do_webview_login(callback_sid=None, callback_code=None):
|
||||||
window = webview.create_window(f'Legendary {__version__} - Epic Games Account Login',
|
window = webview.create_window(f'Legendary {__version__} - Epic Games Account Login',
|
||||||
url=login_url, width=768, height=1024, js_api=api)
|
url=login_url, width=768, height=1024, js_api=api)
|
||||||
api.window = window
|
api.window = window
|
||||||
window.loaded += api.on_loaded
|
window.events.loaded += api.on_loaded
|
||||||
|
|
||||||
try:
|
try:
|
||||||
webview.start()
|
webview.start()
|
||||||
|
|
Loading…
Reference in a new issue