mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
limit fix to macos
This commit is contained in:
parent
b5ee704bb7
commit
8cbb6c3d20
1 changed files with 3 additions and 1 deletions
4
start.py
4
start.py
|
|
@ -99,6 +99,8 @@ import traceback
|
|||
import subprocess
|
||||
import site
|
||||
from pathlib import Path
|
||||
import platform
|
||||
|
||||
|
||||
# OPENPYPE_ROOT is variable pointing to build (or code) directory
|
||||
# WARNING `OPENPYPE_ROOT` must be defined before igniter import
|
||||
|
|
@ -117,7 +119,7 @@ else:
|
|||
# WARNING: this can break stuff if custom certificates are used. In that
|
||||
# case they need to be merged to certificate bundle and SSL_CERT_FILE
|
||||
# should point to them.
|
||||
if not os.getenv("SSL_CERT_FILE"):
|
||||
if not os.getenv("SSL_CERT_FILE") and platform.system().lower() == "darwin": # noqa: E501
|
||||
ssl_cert_file = Path(OPENPYPE_ROOT) / "dependencies" / "certifi" / "cacert.pem" # noqa: E501
|
||||
os.environ["SSL_CERT_FILE"] = ssl_cert_file.as_posix()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue