return to normal

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

View file

@ -20,7 +20,7 @@ def onTagSense(tag):
id = int.from_bytes(tag.identifier, "big") id = int.from_bytes(tag.identifier, "big")
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":
#oled.balance(response.json()["username"], response.json()["balance"]) #oled.balance(response.json()["username"], response.json()["balance"])
return True return True