diff --git a/NFC_Reader.py b/NFC_Reader.py index f27e1c4..5f4abeb 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()["user"], responese.json()["balance"])) + subprocess.run(oled.balance(response.json()["username"], responese.json()["balance"])) return True #except: # None