This commit is contained in:
xdrm-brackets 2017-10-12 20:12:12 +02:00
parent e757cc2a15
commit 9e180d6b00
1 changed files with 4 additions and 4 deletions

View File

@ -28,10 +28,10 @@ if status != MIFAREReader.MI_OK:
# [6] Print UID # [6] Print UID
hexCode = []; hexCode = [];
hexcode.append( str(hex(uid[0]))[2:] ); hexCode.append( str(hex(uid[0]))[2:] );
hexcode.append( str(hex(uid[1]))[2:] ); hexCode.append( str(hex(uid[1]))[2:] );
hexcode.append( str(hex(uid[2]))[2:] ); hexCode.append( str(hex(uid[2]))[2:] );
hexcode.append( str(hex(uid[3]))[2:] ); hexCode.append( str(hex(uid[3]))[2:] );
if( len(hexCode[0]) == 1 ): if( len(hexCode[0]) == 1 ):