From 57ca6ee906a69bb776dc18bd080e4872d7c83eab Mon Sep 17 00:00:00 2001 From: rendies Date: Thu, 12 Jan 2023 19:59:05 +0700 Subject: [PATCH] fix: polishing code --- RunCounting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RunCounting.py b/RunCounting.py index 2ef21c8..80f7552 100644 --- a/RunCounting.py +++ b/RunCounting.py @@ -31,7 +31,7 @@ args = None def counter(): # return the rendered template global people_count - return jsonify({counter: people_count}) + return jsonify({"counter": people_count}) @app.route("/video") @cross_origin()