aboutsummaryrefslogtreecommitdiff
path: root/wiki.py
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-03-23 19:14:45 +0000
committerJuan J. Martinez <jjm@usebox.net>2024-03-23 19:14:45 +0000
commit5e1bcdca7c5a79119adec162ffa367741b23596c (patch)
treec4df002413358e91cc2991f84f5897d89aa807af /wiki.py
parent0a5471217b9f562b92f32802de4260390f639880 (diff)
downloadpersonal-wiki-pybottle-5e1bcdca7c5a79119adec162ffa367741b23596c.tar.gz
personal-wiki-pybottle-5e1bcdca7c5a79119adec162ffa367741b23596c.zip
Formatting
Diffstat (limited to 'wiki.py')
-rw-r--r--wiki.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/wiki.py b/wiki.py
index 617f841..2c4eef9 100644
--- a/wiki.py
+++ b/wiki.py
@@ -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>")