mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-12 14:02:37 +02:00
add .upper() to other side of the condition
This commit is contained in:
@ -145,7 +145,7 @@ async def api_scane(p, c, request: Request):
|
||||
try:
|
||||
card_uid, counter = decryptSUN(bytes.fromhex(p), bytes.fromhex(cand.k1))
|
||||
|
||||
if card_uid.hex().upper() == cand.uid:
|
||||
if card_uid.hex().upper() == cand.uid.upper():
|
||||
card = cand
|
||||
break
|
||||
except:
|
||||
|
Reference in New Issue
Block a user