Skip to content
Snippets Groups Projects
Commit df0c6f57 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

valid json

parent 4fcf956b
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ class WWMBotForwarder(BaseHTTPRequestHandler):
self.send_response(200 if status == 'OK' else 401)
self.send_header('Content-Type', 'application/json')
self.end_headers()
self.wfile.write(b"{'status': %a}" % status)
self.wfile.write(b'{"status": "%a"}' % status)
if __name__ == '__main__':
......
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