X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=logging_utils.py;h=8875b2fcb3d833f900c1107e7203abc27a49f54c;hb=b6dd2da4aecbc5d4690023d5a5e4f63052425444;hp=3fd2b849a3dcc2d030de28e0abe6c70cb1d9fe02;hpb=7ff2af6fe7bffea90dc4a31c93140c189917c659;p=python_utils.git 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: