diff options
-rw-r--r-- | pydis_site/apps/resources/views/resources_list.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pydis_site/apps/resources/views/resources_list.py b/pydis_site/apps/resources/views/resources_list.py index 947dae29..bcb7ea67 100644 --- a/pydis_site/apps/resources/views/resources_list.py +++ b/pydis_site/apps/resources/views/resources_list.py @@ -20,8 +20,7 @@ class ResourcesListView(TemplateView): resource_path = RESOURCES_PATH / self.kwargs["type"] if ( - not resource_path.exists() - or not resource_path.is_dir() + not resource_path.is_dir() or not resource_path.joinpath("_category_info.yaml").exists() ): raise Http404 |