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 == "":