From 677f56ea6f563301192fd8834bc65d07d0bd1ed2 Mon Sep 17 00:00:00 2001 From: cidoku Date: Sun, 22 Jun 2025 16:25:35 -0400 Subject: [PATCH] if cert found in base folder, use it --- AO2XP.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AO2XP.py b/AO2XP.py index 34df640..abb5507 100644 --- a/AO2XP.py +++ b/AO2XP.py @@ -16,6 +16,8 @@ __builtin__.audio = AUDIO del AUDIO osname = platform.system() +if exists("certifi/cacert.pem"): + os.environ['REQUESTS_CA_BUNDLE'] = "certifi/cacert.pem" if osname == "Linux": QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_X11InitThreads) # Linux fix app = QtGui.QApplication(sys.argv)