Skip to content

Commit

Permalink
[core] Reformat filter_rtl_hard_fault.py with updated black
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba2k2 committed May 6, 2022
1 parent b7df8d7 commit 5aba2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor/filter_rtl_hard_fault.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def rx(self, text):
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:
Expand Down

0 comments on commit 5aba2eb

Please sign in to comment.