You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "xxxxxx\venv\lib\site-packages\pywebio_battery\interaction.py", line 93, in run_shell
output_func(out.decode('utf8'))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc7 in position 1: invalid continuation byte
pywebio-battery/pywebio_battery/interaction.py
Line 117 in f62815b
在Windows简中系统里使用pywebio_battery.run_shell会报错:
需要将pywebio_battery/interaction.py#L117的output_func(out.decode('utf8')) 改为 output_func(out)
然后下面的代码就可以正常运行了
The text was updated successfully, but these errors were encountered: