Skip to content

Commit

Permalink
Removed invalid constructor argument (fixes #176)
Browse files Browse the repository at this point in the history
Python 3.8 would crash on that call since they seemed to have changed the logging.Formatter class.
  • Loading branch information
obilodeau committed Jan 15, 2020
1 parent d01d3ea commit 7210f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrdp/logging/formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class SSLSecretFormatter(logging.Formatter):
"""

def __init__(self):
super().__init__("format")
super().__init__()

def format(self, record: logging.LogRecord):
return "CLIENT_RANDOM {} {}".format(binascii.hexlify(record.msg).decode(),
Expand Down

0 comments on commit 7210f47

Please sign in to comment.