Commit d3eda793 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

kajonggtest: correctly pass player name to client

parent 012cf33e
......@@ -35,7 +35,7 @@ from tempfile import mkdtemp
from optparse import OptionParser
from common import Debug, StrMixin, isPython3, interpreterName
from common import Debug, StrMixin, isPython3, interpreterName, nativeString
from util import removeIfExists, gitHead, checkMemory
from compat import Csv, CsvWriter
......@@ -268,7 +268,7 @@ class Job(StrMixin):
'--game={game}'.format(game=self.game),
'--player={tester} {player}'.format(
player=player,
tester=u'Tüster'.encode('utf-8')),
tester=nativeString(u'Tüster')),
'--ruleset={ap}'.format(ap=self.ruleset)]
if self.server.socketName:
cmd.append('--socket={sock}'.format(sock=self.server.socketName))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment