This commit is contained in:
karl.hudgell 2021-10-26 16:19:16 +01:00
parent 230195bb5c
commit e41ea22006
2 changed files with 2 additions and 1 deletions

1
.vscode/launch.json vendored
View File

@ -15,6 +15,7 @@
}, },
"args": [ "args": [
"run", "run",
"--host=0.0.0.0",
"--no-debugger" "--no-debugger"
], ],
"jinja": true "jinja": true

View File

@ -41,7 +41,7 @@ def off():
@app.route("/colour") @app.route("/colour")
@retry(stop=stop_after_attempt(5)) @retry(stop=stop_after_attempt(5))
def hello(): def hello():
# a = request.query_string print(request.query_string)
r = int(request.args.get("r")) r = int(request.args.get("r"))
g = int(request.args.get("g")) g = int(request.args.get("g"))
b = int(request.args.get("b")) b = int(request.args.get("b"))