From d4ce00a5fcf05688b7d6f7d2ba9c06f775fef5f6 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Sun, 21 Apr 2024 00:44:40 +0000 Subject: [PATCH] Additional card tweaks. --- bemani/common/card.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bemani/common/card.py b/bemani/common/card.py index e9fca65..bc00faa 100644 --- a/bemani/common/card.py +++ b/bemani/common/card.py @@ -31,7 +31,7 @@ class CardCipher: def __type_from_cardid(cardid: str) -> int: if cardid[:4].upper() == "E004": return 1 - if cardid[:2].upper() == "0": + if cardid[:1] == "0": return 2 raise CardCipherException("Unrecognized card type")