🚧修复抽卡记录bug

This commit is contained in:
qwerdvd 2023-05-08 22:12:47 +08:00
parent f9cb3bfb84
commit 87c0c8402f

View File

@ -148,7 +148,7 @@ def check_up(name: str, _time: str) -> bool:
async def draw_gachalogs_img(uid: str, user_id: str) -> Union[bytes, str]:
path = PLAYER_PATH / str(uid) / 'gacha_logs_test.json'
path = PLAYER_PATH / str(uid) / 'gacha_logs.json'
if not path.exists():
return '你还没有跃迁数据噢~\n请使用命令`sr导入抽卡链接`更新跃迁数据~'
with open(path, 'r', encoding='UTF-8') as f: