new try
This commit is contained in:
parent
8e57c73059
commit
b31d16958f
10
server.py
10
server.py
@ -43,9 +43,7 @@ def hello():
|
|||||||
shell=True,
|
shell=True,
|
||||||
).stdout.decode("utf-8")
|
).stdout.decode("utf-8")
|
||||||
print(result)
|
print(result)
|
||||||
# if result != "Characteristic value was written successfully":
|
if "Characteristic value was written successfully" not in result:
|
||||||
# raise Exception("Didn't work")
|
raise Exception("Didn't work")
|
||||||
# else:
|
else:
|
||||||
# return request.query_string
|
return request.query_string
|
||||||
# except print(0):
|
|
||||||
# pass
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user