From e3edd06e60695b5614ddafc578665db9fe841fe3 Mon Sep 17 00:00:00 2001 From: Jason Cameron Date: Tue, 24 Sep 2024 23:31:04 -0400 Subject: [PATCH] chore: fix linting Signed-off-by: Jason Cameron --- judge/template_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/judge/template_context.py b/judge/template_context.py index e845d61d32..2a59f34757 100644 --- a/judge/template_context.py +++ b/judge/template_context.py @@ -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