Make sure to set WS running before waiting for login
This commit is contained in:
1 parent
a45838e088
commit
5c7fdd401b
1 file changed
+1
-1
+1
-1
@@ -277,8 +277,8 @@ class WebsocketPool:
|
|||||||
return self._running.wait()
|
return self._running.wait()
|
||||||
|
|
||||||
async def start(self):
|
async def start(self):
|
||||||
await self._twitch.wait_until_login()
|
|
||||||
self._running.set()
|
self._running.set()
|
||||||
|
await self._twitch.wait_until_login()
|
||||||
# Add default topics
|
# Add default topics
|
||||||
assert self._twitch._user_id is not None
|
assert self._twitch._user_id is not None
|
||||||
user_id = self._twitch._user_id
|
user_id = self._twitch._user_id
|
||||||
|
|||||||
Reference in new issue
Block a user