always encode hello to utf-8
This commit is contained in:
parent
3a3c7cfa25
commit
439f77272b
1 changed files with 1 additions and 1 deletions
2
cli/koji
2
cli/koji
|
|
@ -6888,7 +6888,7 @@ def handle_moshimoshi(options, session, args):
|
|||
if not u:
|
||||
print "Not authenticated"
|
||||
u = {'name' : 'anonymous user'}
|
||||
print "%s, %s!" % (random.choice(greetings), u["name"],)
|
||||
print "%s, %s!" % (random.choice(greetings).encode('utf-8'), u["name"],)
|
||||
print ""
|
||||
print "You are using the hub at %s" % (session.baseurl,)
|
||||
authtype = u.get('authtype', getattr(session, 'authtype', None))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue