aboutsummaryrefslogtreecommitdiffstats
path: root/pysite
diff options
context:
space:
mode:
authorGravatar JoeBanks13 <[email protected]>2018-03-01 15:57:35 +0000
committerGravatar JoeBanks13 <[email protected]>2018-03-01 15:57:35 +0000
commit95dfc898fbf10850eddd73799a4c40b3b436a8c1 (patch)
treedcc46272c61e848f0cb4b5c5106dba1ebe581e80 /pysite
parentInstead of making flask error when rendering unsupported status codes just se... (diff)
Fix spacing issues
Diffstat (limited to 'pysite')
-rw-r--r--pysite/views/error_handlers/http_4xx.py2
-rw-r--r--pysite/views/error_handlers/http_5xx.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pysite/views/error_handlers/http_4xx.py b/pysite/views/error_handlers/http_4xx.py
index c7457470..5874b862 100644
--- a/pysite/views/error_handlers/http_4xx.py
+++ b/pysite/views/error_handlers/http_4xx.py
@@ -16,5 +16,5 @@ class Error400View(ErrorView):
return render_template("errors/error.html", code=error.code, req=request, error_title=error_desc,
error_message=error_desc +
" If you believe we have made a mistake, please "
- " <a href='https://github.com"
+ "<a href='https://github.com"
"/discord-python/site/issues'>open an issue on our GitHub</a>."), error.code
diff --git a/pysite/views/error_handlers/http_5xx.py b/pysite/views/error_handlers/http_5xx.py
index cbc5f97f..410be265 100644
--- a/pysite/views/error_handlers/http_5xx.py
+++ b/pysite/views/error_handlers/http_5xx.py
@@ -20,6 +20,6 @@ class Error500View(ErrorView):
"again later. "
"If you believe we have made a mistake, "
"please "
- " <a href='https://github.com"
+ "<a href='https://github.com"
"/discord-python/site/issues'>file an issue on our GitHub"
"</a>."), error.code