3
0

🐛 Fix a bug

This commit is contained in:
xtaodada 2022-03-18 00:18:57 +08:00
parent 9d8e2d9fe3
commit e774011480
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -189,7 +189,7 @@ async def get_user_abyss(uid, mode=2, date="1"): # 深境螺旋
# 获取数据 # 获取数据
udata = GenshinUserData(**raw_char_data["data"]) udata = GenshinUserData(**raw_char_data["data"])
aby = GenshinAbyss(**raw_data["data"]) aby = GenshinAbyss(**raw_data["data"])
breakpoint()
if not aby.floors: # 没打 if not aby.floors: # 没打
return "" return ""
rettext = f"<b>第{aby.schedule_id}期深境螺旋信息</b>\n\n" \ rettext = f"<b>第{aby.schedule_id}期深境螺旋信息</b>\n\n" \