Fix banned users breaking Channel.from_directory
This commit is contained in:
1 parent
1228ab0911
commit
057be65af4
1 file changed
+1
@@ -1603,6 +1603,7 @@ class Twitch:
|
|||||||
self, stream_channel_data["node"], drops_enabled=drops_enabled
|
self, stream_channel_data["node"], drops_enabled=drops_enabled
|
||||||
)
|
)
|
||||||
for stream_channel_data in response["data"]["game"]["streams"]["edges"]
|
for stream_channel_data in response["data"]["game"]["streams"]["edges"]
|
||||||
|
if stream_channel_data["node"]["broadcaster"] is not None
|
||||||
]
|
]
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user