Merge pull request #2884 from pypeclub/bugfix/avoid_circular_import

General: Avoid circular import
This commit is contained in:
Jakub Trllo 2022-03-14 11:32:00 +01:00 committed by GitHub
commit 3ce66cd098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,6 @@ import platform
import functools
import logging
from openpype.pipeline import LegacyCreator
from .settings import get_project_settings
from .lib import (
Anatomy,
@ -76,6 +75,7 @@ def install():
"""Install Pype to Avalon."""
from pyblish.lib import MessageHandler
from openpype.modules import load_modules
from openpype.pipeline import LegacyCreator
from avalon import pipeline
# Make sure modules are loaded