Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Commit 199f40d

Browse files
committed
Fix flake8
1 parent 9a162d2 commit 199f40d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wsgi_static_middleware.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ def _get_body(filename, method, block_size, charset):
6868
def static_file_view(env, start_response, filename, block_size, charset):
6969
method = env['REQUEST_METHOD'].upper()
7070
if method not in ('HEAD', 'GET'):
71-
start_response('405 METHOD NOT ALLOWED', [('Content-Type', 'text/plain; UTF-8')])
71+
start_response('405 METHOD NOT ALLOWED',
72+
[('Content-Type', 'text/plain; UTF-8')])
7273
return [b'']
7374

7475
mimetype, encoding = mimetypes.guess_type(filename)

0 commit comments

Comments
 (0)