From c5c7151d3a53aa8c4c612235e6551f179a94c626 Mon Sep 17 00:00:00 2001 From: John Nadratowski Date: Wed, 22 Nov 2023 12:41:10 -0500 Subject: [PATCH] Fix issue with WSGI container error --- livereload/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livereload/server.py b/livereload/server.py index ec4e6f1..e6d8d8e 100644 --- a/livereload/server.py +++ b/livereload/server.py @@ -125,7 +125,7 @@ def start_response(status, response_headers, exc_info=None): return response.append app_response = self.wsgi_app( - WSGIContainer.environ(request), start_response) + WSGIContainer(self.wsgi_app).environ(request), start_response) try: response.extend(app_response) body = b"".join(response)