1
0
mirror of synced 2024-11-24 06:20:10 +01:00

idac: add missing await

This commit is contained in:
Hay1tsme 2024-01-22 16:35:43 -05:00
parent 60e9cd2edd
commit 348edef0f5
2 changed files with 2 additions and 5 deletions

View File

@ -439,10 +439,7 @@ class FE_User(FE_Base):
elif ac.startswith("3"):
c_type = "Banapass"
elif ac.startswith("010"):
c_type = "Unknown Aime"
desc, _ = self.data.card.get_aime_ac_key_desc(ac)
if desc is not None:
c_type = desc
c_type = "Aime" # TODO: Aime verification
elif ac.startswith("0008"):
c_type = "Generated AIC"
else:

View File

@ -450,7 +450,7 @@ class IDACSeason2(IDACBase):
is_new_player = 0
# check that the user_id from access_code matches the user_id
if user_id == self.data.card.get_user_id_from_card(access_code):
if user_id == await self.data.card.get_user_id_from_card(access_code):
lock_result = 1
# check if an IDAC profile already exists