From ff6eb4ff38a58249a4c97bc066396a130751884d Mon Sep 17 00:00:00 2001 From: Izaac Date: Wed, 14 Jun 2017 11:42:25 -0500 Subject: [PATCH] Create MFRC522.py --- MFRC522.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MFRC522.py b/MFRC522.py index 6f157c2..88789f2 100644 --- a/MFRC522.py +++ b/MFRC522.py @@ -353,7 +353,7 @@ class MFRC522: if not(status == self.MI_OK) or not(backLen == 4) or not((backData[0] & 0x0F) == 0x0A): status = self.MI_ERR - print str(backLen)+" backdata &0x0F == 0x0A "+str(backData[0]&0x0F) + print "%s backdata &0x0F == 0x0A %s" % (backLen, backData[0]&0x0F) if status == self.MI_OK: i = 0 buf = []