This commit is contained in:
Miroslav Stampar
2016-06-01 10:56:42 +02:00
parent b0ea74dc63
commit 77f0b5dfa8
2 changed files with 2 additions and 2 deletions

View File

@@ -989,7 +989,7 @@ class Connect(object):
while True:
try:
compiler.parse(conf.evalCode.replace(';', '\n'))
compiler.parse(unicodeencode(conf.evalCode.replace(';', '\n')))
except SyntaxError, ex:
original = replacement = ex.text.strip()
for _ in re.findall(r"[A-Za-z_]+", original)[::-1]: