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": [
"run",
"--host=0.0.0.0",
"--no-debugger"
],
"jinja": true

View File

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