return to normal

This commit is contained in:
bton 2024-04-17 20:58:54 +02:00
parent b01fead578
commit 1b67b75b2d

View file

@ -20,10 +20,10 @@ def onTagSense(tag):
id = int.from_bytes(tag.identifier, "big")
response = requests.post(f"{url}tag_id", data={"id":id})
#try:
if response.json()["mode"] == "balance" or response.json()["mode"] == "message":
#oled.balance(response.json()["username"], response.json()["balance"])
return True
try:
if response.json()["mode"] == "balance" or response.json()["mode"] == "message":
#oled.balance(response.json()["username"], response.json()["balance"])
return True
except:
None
return False