mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-05 19:23:45 +08:00
🚧修复抽卡记录bug
This commit is contained in:
parent
f9cb3bfb84
commit
87c0c8402f
@ -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]:
|
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():
|
if not path.exists():
|
||||||
return '你还没有跃迁数据噢~\n请使用命令`sr导入抽卡链接`更新跃迁数据~'
|
return '你还没有跃迁数据噢~\n请使用命令`sr导入抽卡链接`更新跃迁数据~'
|
||||||
with open(path, 'r', encoding='UTF-8') as f:
|
with open(path, 'r', encoding='UTF-8') as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user