cosmetic fix

This commit is contained in:
Kayla Man 2024-05-29 22:38:04 +08:00
parent 829a3e93de
commit dd61d75998

View file

@ -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)