diff options
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/views/error_handlers/http_4xx.py | 6 | ||||
-rw-r--r-- | pysite/views/error_handlers/http_5xx.py | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/pysite/views/error_handlers/http_4xx.py b/pysite/views/error_handlers/http_4xx.py index 1417c1f6..884c3eb4 100644 --- a/pysite/views/error_handlers/http_4xx.py +++ b/pysite/views/error_handlers/http_4xx.py @@ -17,6 +17,6 @@ class Error400View(ErrorView): error_message=error_desc + " If you believe we have made a mistake, " "please open an issue " - "on our GitHub (" - "https://github.com" - "/discord-python/site/issues)."), error.code + "on our" + " <a href='https://github.com" + "/discord-python/site/issues'>GitHub</a>."), error.code diff --git a/pysite/views/error_handlers/http_5xx.py b/pysite/views/error_handlers/http_5xx.py index ecf4a35e..c1bc646e 100644 --- a/pysite/views/error_handlers/http_5xx.py +++ b/pysite/views/error_handlers/http_5xx.py @@ -19,7 +19,6 @@ class Error500View(ErrorView): "request, please try " "again later. " "If you believe we have made a mistake, " - "please open an issue " - "on our GitHub (" - "https://github.com" - "/discord-python/site/issues)."), error.code + "please file an issue on our" + " <a href='https://github.com" + "/discord-python/site/issues'>GitHub</a>."), error.code |