mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-06-09 17:09:41 +08:00
🐛 修复部分情况下扫码登陆
可能报错的情况, 该报错不影响使用 (#120)
This commit is contained in:
parent
ef151d55d3
commit
c4d6764921
@ -342,7 +342,7 @@ async def _deal_ck(bot_id: str, mes: str, user_id: str) -> str:
|
|||||||
insert_dict[f'uid_{_i}'] = _luid
|
insert_dict[f'uid_{_i}'] = _luid
|
||||||
|
|
||||||
_uid_exist = await GsUID.uid_exist(_uid, game_name)
|
_uid_exist = await GsUID.uid_exist(_uid, game_name)
|
||||||
if _uid_exist:
|
if _uid_exist and insert_dict:
|
||||||
await GsUID.update_data(
|
await GsUID.update_data(
|
||||||
_uid_exist, game_name, **insert_dict
|
_uid_exist, game_name, **insert_dict
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user