mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-10 18:26:12 +00:00
Remove six: string coercion
This commit is contained in:
parent
0e5c5e4c07
commit
57ed8bdedd
8 changed files with 17 additions and 34 deletions
|
@ -4,7 +4,6 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
|||
import json
|
||||
|
||||
import requests
|
||||
from six import ensure_str
|
||||
|
||||
from ..helper.exceptions import HTTPException
|
||||
from ..helper.utils import settings
|
||||
|
@ -416,7 +415,7 @@ class API(object):
|
|||
"User-Agent": self.config.data["http.user_agent"]
|
||||
or "%s/%s"
|
||||
% (self.config.data["app.name"], self.config.data["app.version"]),
|
||||
"x-emby-authorization": ensure_str(auth, "utf-8"),
|
||||
"x-emby-authorization": auth,
|
||||
}
|
||||
|
||||
def send_request(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue