From efe28e17939020ed8c59a31f7f85bc4d68d1e21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 16 May 2022 21:09:43 +0200 Subject: [PATCH] fixxed shit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 4a6eace..e3d48f0 100644 --- a/main.py +++ b/main.py @@ -118,10 +118,10 @@ if __name__ == '__main__': @app.route('/mode', methods=['GET']) def mode(): args = request.args() - mode = args.get('mode') - r = args.get('r') - g = args.get('g') - b = args.get('b') + mode = str(args.get('mode')) + r = str(args.get('r')) + g = str(args.get('g')) + b = str(args.get('b')) if mode is None: return 'No mode specified' elif mode == "":