Fix unicode error

This commit is contained in:
angelblue05 2016-07-22 18:34:26 -05:00
parent 793bd66554
commit 380fcdfc35

View file

@ -328,7 +328,7 @@ class UserClient(threading.Thread):
else:
# Manual login, user is hidden
password = dialog.input(
heading="%s %s" % (lang(33008), username),
heading="%s %s" % (lang(33008), username.decode('utf-8')),
option=xbmcgui.ALPHANUM_HIDE_INPUT)
sha1 = hashlib.sha1(password)
sha1 = sha1.hexdigest()