We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7735275 commit 5782c51Copy full SHA for 5782c51
adafruit_logging.py
@@ -99,8 +99,8 @@ class FileHandler(LoggingHandler):
99
:param mode: Whether to write ('w') or append ('a'); default is to append
100
"""
101
102
- def __init__(self, filepath: str, mode: str = "a"):
103
- self.logfile = open(filepath, mode, encoding="utf-8")
+ def __init__(self, filepath: str, mode: str = 'a'):
+ self.logfile = open(filepath, mode, encoding='utf-8')
104
105
def close(self):
106
"""Closes the file"""
0 commit comments