Skip to content

Commit 77d108a

Browse files
committed
Removed backslash.
1 parent 3c79101 commit 77d108a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

debug_toolbar/middleware.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ def process_response(self, request, response):
123123
{'redirect_to': redirect_to}
124124
)
125125
response.cookies = cookies
126-
if 'gzip' not in response.get('Content-Encoding', '') and \
127-
response.get('Content-Type', '').split(';')[0] in _HTML_TYPES:
126+
if ('gzip' not in response.get('Content-Encoding', '') and
127+
response.get('Content-Type', '').split(';')[0] in _HTML_TYPES):
128128
for panel in toolbar.panels:
129129
panel.process_response(request, response)
130130
response.content = replace_insensitive(

0 commit comments

Comments
 (0)