Skip to content

Commit ec917ab

Browse files
committed
make the open() call in the "Change Target File" option explicitly specify utf-8 encoding
1 parent 681acee commit ec917ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pybricksdev/cli/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ async def reconnect_hub():
316316
"What file would you like to use?"
317317
).ask_async()
318318
)
319-
)
319+
),
320+
encoding="utf-8",
320321
)
321322
break
322323
except FileNotFoundError:

0 commit comments

Comments
 (0)