From 9738a319159ff755c397740f2819d91c7c8f6c2a Mon Sep 17 00:00:00 2001 From: Sindre Stephansen Date: Thu, 12 Mar 2020 10:38:55 +0100 Subject: [PATCH] Disable the debug error page Fixes #11 --- src/app/views/app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/views/app.py b/src/app/views/app.py index 900fae4..1de48ac 100755 --- a/src/app/views/app.py +++ b/src/app/views/app.py @@ -21,6 +21,9 @@ except: # Example use of the smtp server, insert username # web.sendmail("beelance@ntnu.no", "@stud.ntnu.no", "Hello", "Grz, the beelance app is running") +# Disable the debug error page +web.config.debug = False + # Define application routes urls = ( '/', 'Index',