From 2a6c4f6e2a5697341f5ea7f22f36d7761870e10f Mon Sep 17 00:00:00 2001 From: Mitchell Pomery Date: Wed, 4 Mar 2015 14:34:00 +0800 Subject: [PATCH] Fix bug were cards read before logging in cannot be read until a logout occurs --- VendServer/VendServer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/VendServer/VendServer.py b/VendServer/VendServer.py index 8fbf11e..c16cff1 100755 --- a/VendServer/VendServer.py +++ b/VendServer/VendServer.py @@ -887,6 +887,7 @@ def handle_mifare_event(state, event, params, v, vstatus): (center('SORRY'), False, 0.5)]) vstatus.cur_user = '' vstatus.cur_pin = '' + _last_card_id = -1 reset_idler(v, vstatus, 2) return -- 2.20.1