print the res

This commit is contained in:
karl.hudgell 2021-10-26 15:41:50 +01:00
parent 9f6f4e08a2
commit c933f170e9

View File

@ -42,6 +42,7 @@ def hello():
stdout=subprocess.PIPE,
shell=True,
).stdout.decode("utf-8")
print(result)
if result != "Characteristic value was written successfully":
raise Exception("Didn't work")
else: