Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Cameron <[email protected]>
  • Loading branch information
JasonLovesDoggo committed Sep 25, 2024
1 parent 458610f commit e3edd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge/template_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def site_theme(request):

def math_setting(request):
caniuse = CanIUse(request.META.get('HTTP_USER_AGENT', ''))

# Middleware populating `profile` may not have loaded at this point if we're called from an error context.
if hasattr(request.user, 'profile'):
engine = request.profile.math_engine
Expand Down

0 comments on commit e3edd06

Please sign in to comment.