diff --git a/app.py b/app.py index 48950ff..8d0058c 100644 --- a/app.py +++ b/app.py @@ -38,7 +38,7 @@ def response_minify(response): def handle_message(data): current_time = datetime.now().replace( microsecond=0).isoformat() - print('' + current_time + ' ' + data) + print('' + current_time + ' ' + json.dumps(data)) @app.route("/api/status", methods=['GET', 'POST'])