From df0c6f57598f277fec5f3e9bb553b6fc8d542984 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Wed, 13 Feb 2019 01:13:28 +0100 Subject: [PATCH] valid json --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 6eca82c..d06d4ce 100755 --- a/main.py +++ b/main.py @@ -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__':