display text

This commit is contained in:
bton 2024-04-17 20:04:47 +02:00
parent eff0ca594f
commit e4e858c1b7

View file

@ -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":
subprocess.run(oled.balance(response.json()["username"], responese.json()["balance"])) subprocess.run(oled.balance(response.json()["username"], response.json()["balance"]))
return True return True
#except: #except:
# None # None