Skip to content

Commit

Permalink
fix(logging): Python 2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
znerol committed Nov 29, 2021
1 parent fb7d296 commit 75c0b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anonip.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def __init__(self, args=None, extra=None, anonip=None):
self.extra = extra or ['msg']
self.anonip = Anonip(**(anonip or {}))

def filter(self, record: logging.LogRecord):
def filter(self, record):
"""
See logging.Filter.filter()
"""
Expand Down

0 comments on commit 75c0b43

Please sign in to comment.