From c39617856b161267f561d0105f1f3dc7393c387a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 16 May 2022 21:12:07 +0200 Subject: [PATCH] added args MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 010a05f..3ee0951 100644 --- a/main.py +++ b/main.py @@ -118,7 +118,7 @@ if __name__ == '__main__': @app.route('/mode', methods=['GET']) def mode(): - args = request.args() + args = request.args mode = str(args.get('mode')) r = str(args.get('r')) g = str(args.get('g'))