Fix debugging mistake
This commit is contained in:
1 parent
5642716dd3
commit
713f0ed181
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user