Skip to content

Commit

Permalink
chore: fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ecederstrand committed Aug 9, 2022
1 parent f73143c commit 2a1cb32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions exchangelib/util.py
Expand Up @@ -573,8 +573,7 @@ def is_xml(text, expected_prefix=b"<?xml"):
class PrettyXmlHandler(logging.StreamHandler):
"""A steaming log handler that prettifies log statements containing XML when output is a terminal."""

@staticmethod
def parse_bytes(xml_bytes):
def parse_bytes(self, xml_bytes):
return to_xml(xml_bytes)

@classmethod
Expand Down

0 comments on commit 2a1cb32

Please sign in to comment.