forked from Dniel97/artemis
idac: add missing await
This commit is contained in:
parent
60e9cd2edd
commit
348edef0f5
@ -439,10 +439,7 @@ class FE_User(FE_Base):
|
|||||||
elif ac.startswith("3"):
|
elif ac.startswith("3"):
|
||||||
c_type = "Banapass"
|
c_type = "Banapass"
|
||||||
elif ac.startswith("010"):
|
elif ac.startswith("010"):
|
||||||
c_type = "Unknown Aime"
|
c_type = "Aime" # TODO: Aime verification
|
||||||
desc, _ = self.data.card.get_aime_ac_key_desc(ac)
|
|
||||||
if desc is not None:
|
|
||||||
c_type = desc
|
|
||||||
elif ac.startswith("0008"):
|
elif ac.startswith("0008"):
|
||||||
c_type = "Generated AIC"
|
c_type = "Generated AIC"
|
||||||
else:
|
else:
|
||||||
|
@ -450,7 +450,7 @@ class IDACSeason2(IDACBase):
|
|||||||
is_new_player = 0
|
is_new_player = 0
|
||||||
|
|
||||||
# check that the user_id from access_code matches the user_id
|
# 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
|
lock_result = 1
|
||||||
|
|
||||||
# check if an IDAC profile already exists
|
# check if an IDAC profile already exists
|
||||||
|
Loading…
Reference in New Issue
Block a user