From 41ee24c08c091edd3859b17cc56c54547b60caed Mon Sep 17 00:00:00 2001 From: John Smith Date: Wed, 25 Dec 2024 23:02:57 +0800 Subject: [PATCH] =?UTF-8?q?web=E6=8E=A5=E5=8F=A3=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=BC=B9=E5=B9=95=E8=A7=A3=E6=9E=90=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blivedm/models/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blivedm/models/web.py b/blivedm/models/web.py index c5b3622..f103992 100644 --- a/blivedm/models/web.py +++ b/blivedm/models/web.py @@ -115,7 +115,7 @@ class DanmakuMessage: mode_info = info[0][15] try: face = mode_info['user']['base']['face'] - except KeyError: + except (TypeError, KeyError): face = '' if len(info[3]) != 0: