summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rwxr-xr-xapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 7122b06..e4f2f7d 100755
--- a/app.py
+++ b/app.py
@@ -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),