[core] Reformat filter_rtl_hard_fault.py with updated black

This commit is contained in:
Kuba Szczodrzyński
2022-05-06 15:47:46 +02:00
parent b7df8d7b37
commit 5aba2eb4a1

View File

@@ -109,7 +109,7 @@ See https://docs.platformio.org/page/projectconf/build_configurations.html
def addr2line(self, addr):
trace = ""
enc = "mbcs" if WINDOWS else "utf-8"
args = [self.addr2line_path, u"-fipC", u"-e", self.firmware_path]
args = [self.addr2line_path, "-fipC", "-e", self.firmware_path]
if PY2:
args = [a.encode(enc) for a in args]
try: