From a4527d680a830acb26f7dbcadc24dacb40dc8437 Mon Sep 17 00:00:00 2001 From: Niklas Reimer Date: Thu, 11 Jan 2024 13:08:08 +0100 Subject: [PATCH] remove ssl_mode parameter if not enabled --- src/main/resources/scripts/importer/cbioportal_common.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/resources/scripts/importer/cbioportal_common.py b/src/main/resources/scripts/importer/cbioportal_common.py index b3a97279..6f53514a 100644 --- a/src/main/resources/scripts/importer/cbioportal_common.py +++ b/src/main/resources/scripts/importer/cbioportal_common.py @@ -1096,7 +1096,6 @@ def get_db_cursor(portal_properties: PortalProperties): connection_kwargs['ssl_mode'] = 'REQUIRED' connection_kwargs['ssl'] = {"ssl_mode": True} else: - connection_kwargs['ssl_mode'] = 'DISABLED' if url_elements.query.get("get-server-public-key") == "true": connection_kwargs['ssl'] = { 'MYSQL_OPT_GET_SERVER_PUBLIC_KEY': True