mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-09 05:25:53 +08:00
🐛 修复某些场景下导入抽卡记录存在问题
This commit is contained in:
parent
11b53e5547
commit
fd06aa55b4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user