From 32c8dcdf509a2e61259ef4e7a1e52fe7ebc310ea Mon Sep 17 00:00:00 2001 From: Scoder12 <34356756+Scoder12@users.noreply.github.com> Date: Tue, 28 Jul 2020 12:46:15 -0700 Subject: [PATCH] Use f-string instead of concatenation in example --- examples/maqpy/login_wall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/maqpy/login_wall.py b/examples/maqpy/login_wall.py index 4980c06..9e311ab 100644 --- a/examples/maqpy/login_wall.py +++ b/examples/maqpy/login_wall.py @@ -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")