Fix banned users breaking Channel.from_directory

This commit is contained in:
DevilXD
2024-10-23 22:34:22 +02:00
parent 1228ab0911
commit 057be65af4

View File

@@ -1603,6 +1603,7 @@ class Twitch:
self, stream_channel_data["node"], drops_enabled=drops_enabled
)
for stream_channel_data in response["data"]["game"]["streams"]["edges"]
if stream_channel_data["node"]["broadcaster"] is not None
]
return []