master
Sean B. Palmer 2011-12-27 14:50:21 +00:00
parent 3724ba37cd
commit b2fe5b31e2
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def tr(phenny, context):
output = (output or 'en').encode('utf-8') output = (output or 'en').encode('utf-8')
if input != output: if input != output:
msg, input = translate2(phrase, input, output) msg, input = translate(phrase, input, output)
if isinstance(msg, str): if isinstance(msg, str):
msg = msg.decode('utf-8') msg = msg.decode('utf-8')
if msg: if msg: