From f1d76e00e781f6a1be1d7eb51ff36d7c80d6e01e Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Fri, 10 Nov 2023 21:34:36 +0100 Subject: [PATCH] Fix logging_level not being able to be set to 4: DEBUG --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 458ef0db..01efdca8 100644 --- a/main.py +++ b/main.py @@ -64,7 +64,7 @@ def logging_level(self) -> int: 2: logging.INFO, 3: CALL, 4: logging.DEBUG, - }[min(self._verbose, 3)] + }[min(self._verbose, 4)] @property def debug_ws(self) -> int: @@ -75,7 +75,7 @@ def debug_ws(self) -> int: """ if self._debug_ws: return logging.DEBUG - elif self._verbose >= 3: + elif self._verbose >= 4: return logging.INFO return logging.NOTSET @@ -83,7 +83,7 @@ def debug_ws(self) -> int: def debug_gql(self) -> int: if self._debug_gql: return logging.DEBUG - elif self._verbose >= 3: + elif self._verbose >= 4: return logging.INFO return logging.NOTSET