aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/resources
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2022-01-31 19:57:06 +0100
committerGravatar Leon Sandøy <[email protected]>2022-01-31 19:57:06 +0100
commit98c02d34aabb26babcc6def54c4f0872c7700be9 (patch)
tree47dda1a83ab29c46926561bd093cc275f0006f50 /pydis_site/apps/resources
parentFix category header double click bug on mobile. (diff)
Placate the flake8.
Diffstat (limited to 'pydis_site/apps/resources')
-rw-r--r--pydis_site/apps/resources/views/resources.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pydis_site/apps/resources/views/resources.py b/pydis_site/apps/resources/views/resources.py
index a38c3b59..55d104bd 100644
--- a/pydis_site/apps/resources/views/resources.py
+++ b/pydis_site/apps/resources/views/resources.py
@@ -88,7 +88,9 @@ class ResourceView(View):
# A complete list of valid filter names
self.valid_filters = {
"topics": [as_css_class(topic) for topic in self.filters["Topics"]["filters"]],
- "payment_tiers": [as_css_class(tier) for tier in self.filters["Payment tiers"]["filters"]],
+ "payment_tiers": [
+ as_css_class(tier) for tier in self.filters["Payment tiers"]["filters"]
+ ],
"type": [as_css_class(type_) for type_ in self.filters["Type"]["filters"]],
"difficulty": [as_css_class(tier) for tier in self.filters["Difficulty"]["filters"]],
}