Bug fix in scripts/server/sim-pe.py.

This commit is contained in:
Ulrich Germann 2014-05-19 23:58:54 +01:00
parent 59ddfdfaa0
commit 365a2ae95d

View File

@ -113,7 +113,7 @@ def translate(proxy, args, line):
if type(line) is unicode:
param = { 'text' : line.strip().encode('utf8') }
elif type(line) is str:
param = { 'text' : line.strip().encode('utf8') }
param = { 'text' : line.strip() }
else:
raise Exception("Can't handle input")
if args.A: param['align'] = True