1
0
mirror of synced 2024-11-23 22:10:59 +01:00

Additional card tweaks.

This commit is contained in:
Jennifer Taylor 2024-04-21 00:44:40 +00:00
parent c15ca02731
commit d4ce00a5fc

View File

@ -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")