Skip to content

Commit

Permalink
Fixing string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Apr 14, 2024
1 parent 4fc4dd6 commit 23b46f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magprime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def season_passes(self):
# magfest prime no longer uses one-day badges, so remove it.
from uber.site_sections.badge_exports import Root as _badge_exports
_badge_exports.badge_zipfile_contents = \
[fn for fn in _badge_exports.badge_zipfile_contents if fn.__name__ is not 'printed_badges_one_day']
[fn for fn in _badge_exports.badge_zipfile_contents if fn.__name__ != 'printed_badges_one_day']

static_overrides(join(config['module_root'], 'static'))
template_overrides(join(config['module_root'], 'templates'))
Expand Down

0 comments on commit 23b46f2

Please sign in to comment.