From b6dd2da4aecbc5d4690023d5a5e4f63052425444 Mon Sep 17 00:00:00 2001 From: Scott Date: Wed, 2 Feb 2022 23:37:32 -0800 Subject: [PATCH] Let's call the base class' c'tor first, eh? --- logging_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging_utils.py b/logging_utils.py index 3fd2b84..8875b2f 100644 --- a/logging_utils.py +++ b/logging_utils.py @@ -223,8 +223,8 @@ class SquelchRepeatedMessagesFilter(logging.Filter): """ def __init__(self) -> None: - self.counters: collections.Counter = collections.Counter() super().__init__() + self.counters: collections.Counter = collections.Counter() @overrides def filter(self, record: logging.LogRecord) -> bool: -- 2.45.2