?
This commit is contained in:
parent
66296df433
commit
8135bde769
1 changed files with 0 additions and 1 deletions
|
@ -17,7 +17,6 @@ def get_reader():
|
||||||
def onTagSense(tag):
|
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})
|
||||||
print(response.json())
|
|
||||||
try:
|
try:
|
||||||
if response.json()["mode"] == "balance" or response.json()["mode"] == "message":
|
if response.json()["mode"] == "balance" or response.json()["mode"] == "message":
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue