mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix paths ordering
This commit is contained in:
parent
20c338100e
commit
3e0d422ed5
1 changed files with 2 additions and 2 deletions
|
|
@ -210,8 +210,8 @@ def run_ayon_launcher_process(*args, add_sys_paths=False, **kwargs):
|
|||
env = clean_envs_for_ayon_process(os.environ)
|
||||
|
||||
if add_sys_paths:
|
||||
pp_set = frozenset(sys.path)
|
||||
new_pythonpath = list(pp_set)
|
||||
new_pythonpath = list(sys.path)
|
||||
pp_set = set(new_pythonpath)
|
||||
pythonpath = env.get("PYTHONPATH") or ""
|
||||
for path in frozenset(pythonpath.split(os.pathsep)):
|
||||
if path and path not in pp_set:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue