Skip to content

Commit 1b29d58

Browse files
committed
Lint python
1 parent 63ccc56 commit 1b29d58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/core/middleware.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ def __call__(self, request):
1818
if pattern.match(request.resolver_match.route):
1919
try:
2020
HomePage.objects.get(
21-
locale__language_code=get_language(), live=True)
21+
locale__language_code=get_language(), live=True
22+
)
2223
except HomePage.DoesNotExist:
2324
# Activate English so that we have a site menu
2425
activate("en-latest")

0 commit comments

Comments
 (0)