Skip to content

Commit

Permalink
Fix missing tags array breaking get_stream (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
au5ton authored Aug 22, 2023
1 parent e16ddea commit d892bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def from_get_stream(cls, channel: Channel, data: JsonType) -> Stream:
game=settings["game"],
viewers=stream["viewersCount"],
title=settings["title"],
tags=stream["tags"],
tags=stream["tags"] or [],
)

@classmethod
Expand Down

0 comments on commit d892bc0

Please sign in to comment.