print the res
This commit is contained in:
parent
9f6f4e08a2
commit
c933f170e9
@ -42,6 +42,7 @@ def hello():
|
|||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
shell=True,
|
shell=True,
|
||||||
).stdout.decode("utf-8")
|
).stdout.decode("utf-8")
|
||||||
|
print(result)
|
||||||
if result != "Characteristic value was written successfully":
|
if result != "Characteristic value was written successfully":
|
||||||
raise Exception("Didn't work")
|
raise Exception("Didn't work")
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user