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