From 02f091992059bcfbcd65a210d05733dfd54fc76d Mon Sep 17 00:00:00 2001 From: "Dominik V. Salonen" Date: Thu, 24 Dec 2015 21:47:09 +0100 Subject: [PATCH] Note to self: Actually use the functions you create --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 86f8d04..f0e6f42 100755 --- a/run.py +++ b/run.py @@ -123,7 +123,7 @@ def faq(): # Custom 404 @app.errorhandler(404) def page_not_found(e): - return render_template('error.html', page=config["SITE_DATA"], error="We couldn't find that. Are you sure you know what you're looking for?"), 404 + return error_page("We couldn't find that. Are you sure you know what you're looking for?"), 404 @app.route('/', methods=['GET'])