Merge pull request #3 from Mow910/fix/twitch-auth-asyncio

Fix: Retrait de asyncio.run() pour le constructeur Twitch
This commit is contained in:
Mow910
2026-02-12 23:49:21 +01:00
committed by GitHub
+1 -1
View File
@@ -27,7 +27,7 @@ def twitchConfigurationHelp():
def twitchRequestToken():
global auth
helper = ConfigurationHelper()
twitch = asyncio.run(Twitch(helper.getValue('twitch_client_id'), helper.getValue('twitch_client_secret')))
twitch = Twitch(helper.getValue('twitch_client_id'), helper.getValue('twitch_client_secret'))
auth = UserAuthenticator(twitch, USER_SCOPE, url=_buildUrl())
return redirect(auth.return_auth_url())