fm11rf08s script: Use last 4 bytes from UID, fixes crash on FM11RF08S-7B
This commit is contained in:
1 parent
691e76675a
commit
3923c8858d
2 files changed
+2
-1
No files matched your search
@@ -72,7 +72,7 @@ p.console("hf 14a read")
|
||||
uid = None
|
||||
for line in p.grabbed_output.split('\n'):
|
||||
if "UID:" in line:
|
||||
uid = int(line[10:].replace(' ', ''), 16)
|
||||
uid = int(line[10:].replace(' ', '')[-8:], 16)
|
||||
if uid is None:
|
||||
print("Card not found")
|
||||
if restore_color:
|
||||
|
||||
Reference in new issue
Block a user