mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixing the default host import to be from pype
This commit is contained in:
parent
00179b9714
commit
ef0f346195
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ def main(env):
|
||||||
# Register Host (and it's pyblish plugins)
|
# Register Host (and it's pyblish plugins)
|
||||||
host_name = env["AVALON_APP"]
|
host_name = env["AVALON_APP"]
|
||||||
# TODO not sure if use "pype." or "avalon." for host import
|
# TODO not sure if use "pype." or "avalon." for host import
|
||||||
host_import_str = f"avalon.{host_name}"
|
host_import_str = f"pype.{host_name}"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
host_module = importlib.import_module(host_import_str)
|
host_module = importlib.import_module(host_import_str)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue