mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Fix string encoding
This commit is contained in:
parent
47175fb216
commit
010dc3243a
1 changed files with 2 additions and 2 deletions
|
@ -53,10 +53,10 @@ class HTTP(object):
|
||||||
def _replace_user_info(self, string):
|
def _replace_user_info(self, string):
|
||||||
|
|
||||||
if self.config['auth.server']:
|
if self.config['auth.server']:
|
||||||
string = string.replace("{server}", self.config['auth.server'])
|
string = string.decode('utf-8').replace("{server}", self.config['auth.server'])
|
||||||
|
|
||||||
if self.config['auth.user_id']:
|
if self.config['auth.user_id']:
|
||||||
string = string.replace("{UserId}", self.config['auth.user_id'])
|
string = string.decode('utf-8').replace("{UserId}", self.config['auth.user_id'])
|
||||||
|
|
||||||
return string
|
return string
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue