Re-add decode to unicode

Then convert to utf-8, then ascii for the auth header.
This commit is contained in:
angelblue05 2016-01-21 19:19:25 -06:00
parent af4b3bdd9e
commit 3caa2ae3a7
2 changed files with 2 additions and 2 deletions

View file

@ -44,8 +44,7 @@ class ClientInfo():
if utils.settings('deviceNameOpt') == "false":
# Use Kodi's deviceName
deviceName = xbmc.getInfoLabel('System.FriendlyName')
deviceName = utils.normalize_string(deviceName)
deviceName = xbmc.getInfoLabel('System.FriendlyName').decode('utf-8')
else:
deviceName = utils.settings('deviceName')
deviceName = deviceName.replace("\"", "_")