diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-03-11 10:41:33 +0100 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-03-11 10:41:33 +0100 |
| commit | bd4fc5cbad6facc4af5fde2b2814fd62eb13094f (patch) | |
| tree | 2ad4cfb4a30f041b41ad3532fa85f460aeea5cb3 /app.py | |
| parent | e2d1d421e422790b956e57e40522630221eae02c (diff) | |
rewrite in flask done
Diffstat (limited to 'app.py')
| -rwxr-xr-x | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ def get_template_items(title, db): @app.route("/~") def index(): with database.Database() as db: - with open("static/index.md", "r") as f: + with open(os.path.join("static", "index.md"), "r") as f: return flask.render_template( "index.html.j2", **get_template_items("eva's site", db), |
