From 256042a7f3a454ea35641fcc4b09b5036c75eb12 Mon Sep 17 00:00:00 2001 From: Roman Davydov <15850461+rdavydov@users.noreply.github.com> Date: Tue, 22 Aug 2023 00:51:15 +0300 Subject: [PATCH] #343 temporary workaround --- TwitchChannelPointsMiner/classes/entities/Stream.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TwitchChannelPointsMiner/classes/entities/Stream.py b/TwitchChannelPointsMiner/classes/entities/Stream.py index 99b378ff..0991b36a 100644 --- a/TwitchChannelPointsMiner/classes/entities/Stream.py +++ b/TwitchChannelPointsMiner/classes/entities/Stream.py @@ -54,7 +54,9 @@ def update(self, broadcast_id, title, game, tags, viewers_count): self.broadcast_id = broadcast_id self.title = title.strip() self.game = game - self.tags = tags + # #343 temporary workaround + self.tags = tags or [] + # ------------------------ self.viewers_count = viewers_count self.drops_tags = (