mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Fix ssl
This commit is contained in:
parent
d5097fb73a
commit
707fe46ff6
1 changed files with 2 additions and 3 deletions
|
@ -241,7 +241,7 @@ class DownloadUtils(object):
|
||||||
else:
|
else:
|
||||||
session = requests
|
session = requests
|
||||||
kwargs.update({
|
kwargs.update({
|
||||||
'verify': server['SSL'],
|
'verify': server.get('SSL', False),
|
||||||
'headers': self.get_header(server_id, authenticate)
|
'headers': self.get_header(server_id, authenticate)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -354,8 +354,7 @@ class DownloadUtils(object):
|
||||||
info = {
|
info = {
|
||||||
'UserId': "",
|
'UserId': "",
|
||||||
'Server': "",
|
'Server': "",
|
||||||
'Token': "",
|
'Token': ""
|
||||||
'SSL': True
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if server_id is None: # Main server
|
if server_id is None: # Main server
|
||||||
|
|
Loading…
Reference in a new issue