mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 12:51:35 +00:00
🐛 fix avatar
This commit is contained in:
parent
d3a0da3d9f
commit
3e4cd1db1c
@ -80,9 +80,10 @@ class AvatarListPlugin(Plugin, BasePlugin):
|
||||
if character.name != "旅行者":
|
||||
raise e
|
||||
logger.debug(f"解析旅行者数据时遇到了错误:{e}")
|
||||
return None
|
||||
else:
|
||||
break
|
||||
if detail is None:
|
||||
logger.warning(f"解析[bold]{character.name}[/]的数据时遇到了错误:Too Many Requests", extra={"markup": True})
|
||||
logger.warning(f"解析[bold]{character.name}[/]的数据时遇到了错误:{e.msg}", extra={"markup": True})
|
||||
return None
|
||||
if character.id == 10000005: # 针对男草主
|
||||
talents = []
|
||||
|
Loading…
Reference in New Issue
Block a user