From 707fe46ff6a52551307fc8455707d82d14337ef5 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 14 Jun 2018 20:20:58 -0500 Subject: [PATCH] Fix ssl --- resources/lib/downloadutils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/lib/downloadutils.py b/resources/lib/downloadutils.py index c87b2e71..635d1c2d 100644 --- a/resources/lib/downloadutils.py +++ b/resources/lib/downloadutils.py @@ -241,7 +241,7 @@ class DownloadUtils(object): else: session = requests kwargs.update({ - 'verify': server['SSL'], + 'verify': server.get('SSL', False), 'headers': self.get_header(server_id, authenticate) }) @@ -354,8 +354,7 @@ class DownloadUtils(object): info = { 'UserId': "", 'Server': "", - 'Token': "", - 'SSL': True + 'Token': "" } if server_id is None: # Main server