Fix unicode error
This commit is contained in:
parent
793bd66554
commit
380fcdfc35
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ class UserClient(threading.Thread):
|
||||||
else:
|
else:
|
||||||
# Manual login, user is hidden
|
# Manual login, user is hidden
|
||||||
password = dialog.input(
|
password = dialog.input(
|
||||||
heading="%s %s" % (lang(33008), username),
|
heading="%s %s" % (lang(33008), username.decode('utf-8')),
|
||||||
option=xbmcgui.ALPHANUM_HIDE_INPUT)
|
option=xbmcgui.ALPHANUM_HIDE_INPUT)
|
||||||
sha1 = hashlib.sha1(password)
|
sha1 = hashlib.sha1(password)
|
||||||
sha1 = sha1.hexdigest()
|
sha1 = sha1.hexdigest()
|
||||||
|
|
Loading…
Reference in a new issue