From f246b9d033874873bdfd1084cb823efcc07c0544 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 15 Nov 2023 21:32:10 +1100 Subject: [PATCH] fix: Update error message on website load fail --- sites/website.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/website.py b/sites/website.py index cc5d579..83b0e12 100644 --- a/sites/website.py +++ b/sites/website.py @@ -45,7 +45,7 @@ def render(data,db_object): hns_icon = "assets/img/HNS.png" except Exception as e: - return "

Invalid data


Please contact support


" + str(e) + return "

Invalid data


Please contact support


This can often be fixed by saving your site again in the editor


" + "" return render_template('city.html',html=html,bg_colour=bg_colour,text_colour=text_colour,