Skip to content

Commit

Permalink
Add missing append to _sockets
Browse files Browse the repository at this point in the history
  • Loading branch information
PredaaA committed Dec 23, 2023
1 parent 30a814f commit 6ff42fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions twitchio/ext/eventsub/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ async def _assign_subscription(self, sub: _Subscription) -> None:
else: # there are no sockets, create one and break
s = Websocket(self.client, self._http)
await s.connect()
self._sockets.append(s)

s.add_subscription(sub)
return
Expand Down

0 comments on commit 6ff42fe

Please sign in to comment.