test
This commit is contained in:
parent
26ac5319d0
commit
8f26897581
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue