mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-08-02 20:11:50 +00:00
🐛 修复某些场景下导入抽卡记录存在问题
This commit is contained in:
@ -112,10 +112,12 @@ async def save_gachalogs(
|
||||
if '集录祈愿' in gachalogs_history:
|
||||
old_mix_gacha_num = len(gachalogs_history['集录祈愿'])
|
||||
else:
|
||||
gachalogs_history['集录祈愿'] = []
|
||||
old_mix_gacha_num = 0
|
||||
if '新手祈愿' in gachalogs_history:
|
||||
old_new_gacha_num = len(gachalogs_history['新手祈愿'])
|
||||
else:
|
||||
gachalogs_history['新手祈愿'] = []
|
||||
old_new_gacha_num = 0
|
||||
else:
|
||||
gachalogs_history = deepcopy(NULL_GACHA_LOG)
|
||||
|
Reference in New Issue
Block a user