From 4a330ec1b6d422d2ec07799d4327dd50a4804a1e Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Sat, 6 Sep 2025 10:12:05 +0000 Subject: [PATCH] We no longer include cacerts.pem in the GAM binary --- src/gam/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 987acfb6..f9fa5dba 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -3736,10 +3736,7 @@ def SetGlobalVariables(): if value and not os.path.isabs(value): value = os.path.expanduser(os.path.join(_getCfgDirectory(sectionName, GC.CONFIG_DIR), value)) elif not value and itemName == GC.CACERTS_PEM: - if hasattr(sys, '_MEIPASS'): - value = os.path.join(sys._MEIPASS, GC.FN_CACERTS_PEM) #pylint: disable=no-member - else: - value = os.path.join(GM.Globals[GM.GAM_PATH], GC.FN_CACERTS_PEM) + value = os.path.join(GM.Globals[GM.GAM_PATH], GC.FN_CACERTS_PEM) return value def _readGamCfgFile(config, fileName):