Use f-string instead of concatenation in example

This commit is contained in:
Scoder12
2020-07-28 12:46:15 -07:00
parent df795e35c9
commit 32c8dcdf50
+1 -1
View File
@@ -15,7 +15,7 @@ app.login_wall(exclude=["/"], handler=login_page)
@app.route("/")
def index() -> str:
return "Some introduction " + maqpy.Link("check out my page", href="/page")
return f"Hello! {maqpy.Link('check out this page', href='/page')}"
@app.route("/page")