mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +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 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
import sys
|
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
|
# this might happen in some 3dsmax version where PYTHONPATH isn't added
|
||||||
# to sys.path automatically
|
# to sys.path automatically
|
||||||
for path in os.environ["PYTHONPATH"].split(os.pathsep):
|
for path in os.environ["PYTHONPATH"].split(os.pathsep):
|
||||||
if path and path not in sys.path:
|
if path and path not in sys.path:
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
from ayon_max.api import MaxHost
|
|
||||||
from ayon_core.pipeline import install_host
|
|
||||||
|
|
||||||
host = MaxHost()
|
host = MaxHost()
|
||||||
install_host(host)
|
install_host(host)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue