This commit is contained in:
angelblue05 2018-06-14 20:20:58 -05:00
parent d5097fb73a
commit 707fe46ff6

View file

@ -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