Fix debugging mistake

This commit is contained in:
DevilXD committed 2021-12-05 19:35:30 +01:00
1 parent 5642716dd3
commit 713f0ed181
1 file changed
+1 -1
+1 -1
View File
@@ -376,7 +376,7 @@ class Twitch:
jar = cast(aiohttp.CookieJar, self._session.cookie_jar) jar = cast(aiohttp.CookieJar, self._session.cookie_jar)
while True: while True:
cookie = jar.filter_cookies("https://twitch.tv") # type: ignore cookie = jar.filter_cookies("https://twitch.tv") # type: ignore
if cookie: if not cookie:
# no cookie - login # no cookie - login
await self._login() await self._login()
# store our auth token inside the cookie # store our auth token inside the cookie