Unverified Commit 0d593252 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Ignore non-UTF8 chars in UF2 upload (#148)

Fixes #95
parent a1dc348e
......@@ -222,7 +222,7 @@ def convert_from_hex_to_uf2(buf):
return resfile
def to_str(b):
return b.decode("utf-8")
return b.decode("utf-8", "replace")
def get_drives():
drives = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment