diff --git a/app/routes.py b/app/routes.py index f2fa784..e386f02 100644 --- a/app/routes.py +++ b/app/routes.py @@ -17,7 +17,7 @@ def llpsi(): @app.route('/latin/llpsi/') def pensum(pensum_id): - filename = 'app/templates/Pensa/' + pensum_id + '.html' + filename = 'templates/Pensa/' + pensum_id + '.html' with open(filename, 'r') as file: return render_template('LLPSI/Pensum_cloze.html', pensum_title=pensum_id.replace('_', ' '), pensum_content=file.read())