From 9d6382d1f2b7e3ed5d0eb9e3bd8a64f15771d0e3 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 17 Feb 2017 18:02:16 +0100 Subject: [PATCH] [Fixed] Return value of python card reader --- lib/mfrc522/source/read.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mfrc522/source/read.py b/lib/mfrc522/source/read.py index e72ac16..b1b2b2f 100644 --- a/lib/mfrc522/source/read.py +++ b/lib/mfrc522/source/read.py @@ -34,5 +34,6 @@ if status == MIFAREReader.MI_OK: else: + print 127; exit(127);