From 439f77272b5aa15087cf05c93b7a931e9cfca023 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Oct 11 2016 12:09:50 +0000 Subject: always encode hello to utf-8 --- diff --git a/cli/koji b/cli/koji index 7a23608..d878eba 100755 --- a/cli/koji +++ b/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))