Skip to content

Commit

Permalink
Forgot the await
Browse files Browse the repository at this point in the history
  • Loading branch information
PredaaA committed Dec 23, 2023
1 parent 5cd8d56 commit 04b558f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitchio/ext/eventsub/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ async def _assign_subscription(self, sub: _Subscription) -> None:
await self._create_and_connect_socket()
s = self._sockets[-1]

s.wait_and_subscribe(sub)
await s.wait_and_subscribe(sub)

assert sub.created is not None

Expand Down

0 comments on commit 04b558f

Please sign in to comment.