diff --git a/plugins/python/python.py b/plugins/python/python.py index 90e162d6..da52d97e 100644 --- a/plugins/python/python.py +++ b/plugins/python/python.py @@ -320,9 +320,9 @@ def _on_say_command(word, word_eol, userdata): return 0 try: - python = _cstr(word_eol[1]) + python = __decode(_cstr(word_eol[1])) except Exception: - python = b'' + python = '' if not python: return 1