From 057be65af430141c010e18e14ebed2f505aa480b Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Wed, 23 Oct 2024 22:34:22 +0200 Subject: [PATCH] Fix banned users breaking Channel.from_directory --- twitch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/twitch.py b/twitch.py index 4a5b29d..37a1e13 100644 --- a/twitch.py +++ b/twitch.py @@ -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 []