mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-05-16 13:40:18 +00:00
Merge pull request #231 from mlt/py-eol
fix(python): concatenate bytes in compile_line of py console
This commit is contained in:
@@ -320,9 +320,9 @@ def _on_say_command(word, word_eol, userdata):
|
|||||||
return 0
|
return 0
|
||||||
|
|
||||||
try:
|
try:
|
||||||
python = _cstr(word_eol[1])
|
python = __decode(_cstr(word_eol[1]))
|
||||||
except Exception:
|
except Exception:
|
||||||
python = b''
|
python = ''
|
||||||
|
|
||||||
if not python:
|
if not python:
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user