From ec91f69adc0fab6ee4d3d5e7864237b53fb66df2 Mon Sep 17 00:00:00 2001 From: aznd <80119822+aznd@users.noreply.github.com> Date: Thu, 28 Apr 2022 15:59:19 +0200 Subject: [PATCH] [utils] Fix pywebview deprecation issue (#423) --- legendary/utils/webview_login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/utils/webview_login.py b/legendary/utils/webview_login.py index 1513d99..3ee8e29 100644 --- a/legendary/utils/webview_login.py +++ b/legendary/utils/webview_login.py @@ -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', url=login_url, width=768, height=1024, js_api=api) api.window = window - window.loaded += api.on_loaded + window.events.loaded += api.on_loaded try: webview.start()