added args

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-05-16 21:12:07 +02:00
parent 039ea170da
commit c39617856b
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ if __name__ == '__main__':
@app.route('/mode', methods=['GET']) @app.route('/mode', methods=['GET'])
def mode(): def mode():
args = request.args() args = request.args
mode = str(args.get('mode')) mode = str(args.get('mode'))
r = str(args.get('r')) r = str(args.get('r'))
g = str(args.get('g')) g = str(args.get('g'))