From 348edef0f55f5f83cd1039d424847ef53b885e9f Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Mon, 22 Jan 2024 16:35:43 -0500 Subject: [PATCH] idac: add missing await --- core/frontend.py | 5 +---- titles/idac/season2.py | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/core/frontend.py b/core/frontend.py index 08b74d5..7fcea56 100644 --- a/core/frontend.py +++ b/core/frontend.py @@ -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: diff --git a/titles/idac/season2.py b/titles/idac/season2.py index f25296c..072046a 100644 --- a/titles/idac/season2.py +++ b/titles/idac/season2.py @@ -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