This commit is contained in:
bton 2024-04-12 22:23:16 +02:00
parent 26ac5319d0
commit 8f26897581

View file

@ -21,7 +21,7 @@ def onTagSense(tag):
response = requests.post(f"{url}tag_id", data={"id":id}) response = requests.post(f"{url}tag_id", data={"id":id})
try: try:
if response.json()["mode"] == "balance" or response.json()["mode"] == "message": 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 return True
except: except:
None None