if cert found in base folder, use it
This commit is contained in:
parent
45a91090cc
commit
677f56ea6f
2
AO2XP.py
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user