From 0fa4a4086972b3feea65619c2caeccc32db38f35 Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 24 Jul 2019 18:25:28 +0200 Subject: [PATCH] Urllib3 SSL secure connection with server. Works with all OSs --- src/threads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threads.py b/src/threads.py index 69de937..64b511f 100644 --- a/src/threads.py +++ b/src/threads.py @@ -87,7 +87,7 @@ class DownloadThread(BaseDownloadThread): raw_data = bytes(0) sub_data = bytes(0) try: - self._db = urllib3.PoolManager().request( + self._db = urllib3.PoolManager(ca_certs = sys._MEIPASS + '/cacert.pem').request( 'GET', Database.LINK_LOC, preload_content=False,