diff options
author | Juan J. Martinez <jjm@usebox.net> | 2024-03-23 19:14:45 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2024-03-23 19:14:45 +0000 |
commit | 5e1bcdca7c5a79119adec162ffa367741b23596c (patch) | |
tree | c4df002413358e91cc2991f84f5897d89aa807af | |
parent | 0a5471217b9f562b92f32802de4260390f639880 (diff) | |
download | personal-wiki-pybottle-5e1bcdca7c5a79119adec162ffa367741b23596c.tar.gz personal-wiki-pybottle-5e1bcdca7c5a79119adec162ffa367741b23596c.zip |
Formatting
-rw-r--r-- | wiki.py | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -37,16 +37,12 @@ def index(): @app.route("/<name>") def page(db, name): - return template( - "page", dict(page=model.get_page(db, name)) - ) + return template("page", dict(page=model.get_page(db, name))) @app.get("/edit/<name>") def edit(db, name): - return template( - "edit", dict(page=model.get_page(db, name)) - ) + return template("edit", dict(page=model.get_page(db, name))) @app.get("/history/<name>") |