From 4b8db258612e4c74529f689a7e81fecf6cdfe553 Mon Sep 17 00:00:00 2001 From: Quenos <34926461+Quenos@users.noreply.github.com> Date: Thu, 16 Nov 2023 16:49:51 +0100 Subject: [PATCH] Lint fix streamer.py --- tastytrade/streamer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tastytrade/streamer.py b/tastytrade/streamer.py index f8bc54f..e992a9e 100644 --- a/tastytrade/streamer.py +++ b/tastytrade/streamer.py @@ -692,7 +692,7 @@ async def _connect(self) -> None: asyncio.create_task(self._heartbeat()) elif message['type'] == 'CHANNEL_OPENED': channel = next((k for k, v in self._channels.items() - if v == message['channel']), None) + if v == message['channel'])) self._subscription_state[channel] \ = message['type'] elif message['type'] == 'FEED_CONFIG':