return to normal
This commit is contained in:
parent
b01fead578
commit
1b67b75b2d
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue