Skip to content

Commit c7477fc

Browse files
committed
Fix linting
1 parent c9c2e36 commit c7477fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readthedocs/core/middleware.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ def process_request(self, request):
150150
# Let 404 be handled further up stack.
151151
return None
152152

153-
if getattr(proj, 'single_version', False) and not getattr(settings, 'USE_SUBDOMAIN', False):
153+
if (getattr(proj, 'single_version', False)
154+
and not getattr(settings, 'USE_SUBDOMAIN', False)):
154155
request.urlconf = 'readthedocs.core.single_version_urls'
155156
# Logging
156157
host = request.get_host()

0 commit comments

Comments
 (0)