Skip to content

Commit

Permalink
Merge branch 'pyserial-unicode'
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosperate committed Jun 29, 2015
2 parents 7b7a638 + af8e914 commit caeac62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ardublocklyserver/pyserialports/list_ports_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def string(buffer):
if sys.version_info[0] == 3:
return ''.join(s)
else:
return bytearray(s).decode('utf8')
return bytearray(s).decode('utf8', errors='replace')


class GUID(ctypes.Structure):
Expand Down

0 comments on commit caeac62

Please sign in to comment.