Skip to content

Commit d892bc0

Browse files
authored
Fix missing tags array breaking get_stream (#281)
1 parent e16ddea commit d892bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def from_get_stream(cls, channel: Channel, data: JsonType) -> Stream:
5050
game=settings["game"],
5151
viewers=stream["viewersCount"],
5252
title=settings["title"],
53-
tags=stream["tags"],
53+
tags=stream["tags"] or [],
5454
)
5555

5656
@classmethod

0 commit comments

Comments
 (0)