fixxed shit

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-05-16 21:09:43 +02:00
parent a58565324c
commit efe28e1793
1 changed files with 4 additions and 4 deletions

View File

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