diff options
| author | 2020-09-20 14:05:35 +0300 | |
|---|---|---|
| committer | 2020-09-20 14:05:35 +0300 | |
| commit | e2d7eb157bb5dc2909380f30812f11bd47e6056a (patch) | |
| tree | 6ba7d00ed5355f85feb6ec0c7e7fd8bda5445a77 | |
| parent | Add example guide "How to Write a Guide" (diff) | |
Remove unnecessary debug path displaying for 404 on guide view
| -rw-r--r-- | pydis_site/apps/guides/views/guide.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/pydis_site/apps/guides/views/guide.py b/pydis_site/apps/guides/views/guide.py index 470606fb..cb30a525 100644 --- a/pydis_site/apps/guides/views/guide.py +++ b/pydis_site/apps/guides/views/guide.py @@ -26,7 +26,7 @@ class GuideView(View):                  category_name = yaml.load(f.read())["name"]          if not os.path.exists(path) or not os.path.isfile(path): -            raise Http404(f"Guide not found {path}") +            raise Http404(f"Guide not found")          md = Markdown(extensions=['meta', 'attr_list', 'fenced_code'])          with open(path) as f: | 
