From 8f268975817c395adeae419bd5e3037e73e961c7 Mon Sep 17 00:00:00 2001 From: bton Date: Fri, 12 Apr 2024 22:23:16 +0200 Subject: [PATCH] test --- NFC_Reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NFC_Reader.py b/NFC_Reader.py index 0c60a55..bef4e13 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": - asyncio.run(oled.Balance(response.json()["username"], response.json()["balance"])) + oled.Balance(response.json()["username"], response.json()["balance"]) return True except: None