Skip to content

Commit

Permalink
Merge pull request #1214 from ubyssey/FireBoyAJ24-patch-1
Browse files Browse the repository at this point in the history
Fixing the Spoof minor bug
  • Loading branch information
brittkhat authored Aug 15, 2023
2 parents 158103d + c7ee88c commit 1900008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def get_spoof_articles(self, request, spoof_slug="All Spoofs"):
articles = articles | ArticlePage.objects.from_section(section_slug=sections[0].slug).live().public()
else:
sections = SectionPage.objects.filter(categories__slug=spoof_slug).live().public()
if sections[0].title.capitalize() != "Humor" :
if sections[0].title.capitalize() != "Humour" :
articles = ArticlePage.objects.from_section(section_slug=sections[0].slug).live().public()
else:

Expand Down

0 comments on commit 1900008

Please sign in to comment.