diff --git a/src/japronto/app/__init__.py b/src/japronto/app/__init__.py index ece59f2..b0b06a3 100644 --- a/src/japronto/app/__init__.py +++ b/src/japronto/app/__init__.py @@ -193,7 +193,7 @@ def serve(self, *, sock, host, port, reloader_pid): def _run(self, *, host, port, worker_num=None, reloader_pid=None, debug=None): self._debug = debug or self._debug - if self._debug and not self._log_request: + if self._debug and self._log_request is None: self._log_request = self._debug sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)