From d3fddb9d28ee1edfe8ca17ea68b37f54cc9ae235 Mon Sep 17 00:00:00 2001 From: Sakuya Date: Tue, 16 Mar 2021 04:44:19 +0800 Subject: [PATCH] fix E127 --- tornado/http1connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/http1connection.py b/tornado/http1connection.py index 87aebf095..9f51e3073 100644 --- a/tornado/http1connection.py +++ b/tornado/http1connection.py @@ -132,7 +132,7 @@ class HTTP1Connection(httputil.HTTPConnection): # The body limits can be altered by the delegate, so save them # here instead of just referencing self.params later. self._max_body_size = self.params.max_body_size if self.params.max_body_size is not None \ - else self.stream.max_buffer_size + else self.stream.max_buffer_size self._body_timeout = self.params.body_timeout # _write_finished is set to True when finish() has been called, # i.e. there will be no more data sent. Data may still be in the -- 2.47.2