apply pyupgrade
This commit is contained in:
parent
57d628ca74
commit
524fd0bc8c
54 changed files with 169 additions and 230 deletions
|
|
@ -8,7 +8,7 @@ from js_example import app
|
|||
@app.route("/", defaults={"js": "plain"})
|
||||
@app.route("/<any(plain, jquery, fetch):js>")
|
||||
def index(js):
|
||||
return render_template("{0}.html".format(js), js=js)
|
||||
return render_template(f"{js}.html", js=js)
|
||||
|
||||
|
||||
@app.route("/add", methods=["POST"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue