1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-06-06 21:31:55 +00:00

all in one

This commit is contained in:
Newnius 2019-12-26 17:02:09 +08:00
parent e3eb47b93b
commit e26711b49c

View File

@ -156,6 +156,7 @@ class MyHandler(BaseHTTPRequestHandler):
msg["code"] = 1
except Exception as e:
msg = {"code": 1, "error": str(e)}
print(str(e))
self.send_response(200)
self.send_header('Content-type', 'application/json')