From e4e858c1b7451aa25ccecaff426246fc264f9f43 Mon Sep 17 00:00:00 2001 From: bton Date: Wed, 17 Apr 2024 20:04:47 +0200 Subject: [PATCH] display text --- NFC_Reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NFC_Reader.py b/NFC_Reader.py index 5f4abeb..c0a151c 100644 --- a/NFC_Reader.py +++ b/NFC_Reader.py @@ -21,7 +21,7 @@ def onTagSense(tag): response = requests.post(f"{url}tag_id", data={"id":id}) #try: if response.json()["mode"] == "balance" or response.json()["mode"] == "message": - subprocess.run(oled.balance(response.json()["username"], responese.json()["balance"])) + subprocess.run(oled.balance(response.json()["username"], response.json()["balance"])) return True #except: # None