mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
cosmetic fix
This commit is contained in:
parent
829a3e93de
commit
dd61d75998
1 changed files with 2 additions and 4 deletions
|
|
@ -1,15 +1,13 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import sys
|
||||
|
||||
from ayon_max.api import MaxHost
|
||||
from ayon_core.pipeline import install_host
|
||||
# this might happen in some 3dsmax version where PYTHONPATH isn't added
|
||||
# to sys.path automatically
|
||||
for path in os.environ["PYTHONPATH"].split(os.pathsep):
|
||||
if path and path not in sys.path:
|
||||
sys.path.append(path)
|
||||
|
||||
from ayon_max.api import MaxHost
|
||||
from ayon_core.pipeline import install_host
|
||||
|
||||
host = MaxHost()
|
||||
install_host(host)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue