idac: hotfix profile import

This commit is contained in:
Dniel97
2024-03-26 22:44:50 +01:00
parent bfebe69a74
commit 9692aea87b
2 changed files with 2 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ class IDACReader(BaseReader):
self.logger.warning("Invalid access code, please try again.")
# check if access code already exists, if not create a new profile
user_id = self.card_data.get_user_id_from_card(access_code)
user_id = await self.card_data.get_user_id_from_card(access_code)
if user_id is None:
choice = input("Access code does not exist, do you want to create a new profile? (Y/n): ")
if choice.lower() == "n":