Skip to content
Snippets Groups Projects
Commit bee3c8f8 authored by wce's avatar wce
Browse files

修改了数据格式

parent ed9e3ae7
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ def getDoorStatus():
message = "识别异常不可进入"
else:
message = "识别正常可以进入"
Data = '{status:"' + str(status) + '","text":"' + str(message) + '}'
Data = '{"status":"' + str(status) + '","text":"' + str(message) + '"}'
return Data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment