From 713f0ed1810a629c6563fbc3dab47efd3073ac64 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Sun, 5 Dec 2021 19:35:30 +0100 Subject: [PATCH] Fix debugging mistake --- twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitch.py b/twitch.py index 06db60d..29bc524 100644 --- a/twitch.py +++ b/twitch.py @@ -376,7 +376,7 @@ class Twitch: jar = cast(aiohttp.CookieJar, self._session.cookie_jar) while True: cookie = jar.filter_cookies("https://twitch.tv") # type: ignore - if cookie: + if not cookie: # no cookie - login await self._login() # store our auth token inside the cookie