diff --git a/xblock/django/request.py b/xblock/django/request.py index 5b49bf9b4..067bdb80c 100644 --- a/xblock/django/request.py +++ b/xblock/django/request.py @@ -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( webob_response.app_iter, content_type=webob_response.content_type,