From 89753dcf397cc1642b87c7a061dac39577e9000e Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Sun, 15 Sep 2024 14:55:11 +0200 Subject: [PATCH] Slightly delay opening the activation page during OAuth login process --- gui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gui.py b/gui.py index 654077e..c3806c5 100644 --- a/gui.py +++ b/gui.py @@ -586,6 +586,7 @@ class LoginForm: self._manager.print(_("gui", "login", "request")) await self.wait_for_login_press() self._manager.print(f"Enter this code on the Twitch's device activation page: {user_code}") + await asyncio.sleep(4) webopen("https://www.twitch.tv/activate") def update(self, status: str, user_id: int | None):