parent
039ea170da
commit
c39617856b
2
main.py
2
main.py
|
@ -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'))
|
||||||
|
|
Loading…
Reference in New Issue