mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-14 12:16:12 +00:00
Fixes for Kodi 18.5 (and Python2)
This commit is contained in:
parent
a51bf9c2cc
commit
933a31ac23
6 changed files with 13 additions and 9 deletions
|
@ -8,6 +8,7 @@ import logging
|
|||
import time
|
||||
|
||||
import requests
|
||||
from six import string_types
|
||||
|
||||
from .exceptions import HTTPException
|
||||
|
||||
|
@ -188,7 +189,7 @@ class HTTP(object):
|
|||
if isinstance(value, dict):
|
||||
self._process_params(value)
|
||||
|
||||
if isinstance(value, str):
|
||||
if isinstance(value, string_types):
|
||||
params[key] = self._replace_user_info(value)
|
||||
|
||||
def _get_header(self, data):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue