mirror of
https://github.com/xfgryujk/blivedm.git
synced 2025-02-06 01:30:38 +08:00
web接口修复弹幕解析错误
This commit is contained in:
parent
68eae6b6aa
commit
41ee24c08c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user