Skip to content

Commit

Permalink
Update request.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoBessel authored May 2, 2024
1 parent 39b8873 commit 1f63dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xblock/django/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

def webob_to_django_response(webob_response, streaming=False):
"""Returns a django response to the `webob_response`"""
if streaming :
if streaming:
django_response = StreamingHttpResponse(

Check warning on line 13 in xblock/django/request.py

View check run for this annotation

Codecov / codecov/patch

xblock/django/request.py#L13

Added line #L13 was not covered by tests
webob_response.app_iter,
content_type=webob_response.content_type,
Expand Down

0 comments on commit 1f63dd2

Please sign in to comment.