🐛 首次使用米游社API进行强制刷新时未创建目录 (#645)

This commit is contained in:
KimigaiiWuyi 2024-08-20 10:07:53 +08:00
parent c2184288ee
commit ab6774a8bc

View File

@ -45,6 +45,7 @@ def get_value(value: str):
async def mys_to_data(uid: str):
path = PLAYER_PATH / uid
path.mkdir(parents=True, exist_ok=True)
raw_data = await get_base_data(uid)
if isinstance(raw_data, (str, bytes)):