display text

This commit is contained in:
bton 2024-04-17 20:03:10 +02:00
parent 5bf3ecb545
commit eff0ca594f

View file

@ -21,7 +21,7 @@ def onTagSense(tag):
response = requests.post(f"{url}tag_id", data={"id":id})
#try:
if response.json()["mode"] == "balance" or response.json()["mode"] == "message":
subprocess.run(oled.balance(response.json()["user"], responese.json()["balance"]))
subprocess.run(oled.balance(response.json()["username"], responese.json()["balance"]))
return True
#except:
# None