Typo2
parent
3724ba37cd
commit
b2fe5b31e2
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue