From 112fe8ff514841cd1bc41efccb59b98c5095dd6e Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 26 Feb 2021 15:56:50 +0100 Subject: [PATCH] fix maya's `on_startup` callback --- pype/hosts/maya/api/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pype/hosts/maya/api/__init__.py b/pype/hosts/maya/api/__init__.py index 9caca205e6..27e15e0b25 100644 --- a/pype/hosts/maya/api/__init__.py +++ b/pype/hosts/maya/api/__init__.py @@ -151,7 +151,7 @@ def on_open(_): """On scene open let's assume the containers have changed.""" from avalon.vendor.Qt import QtWidgets - from ...widgets import popup + from pype.widgets import popup cmds.evalDeferred( "from pype.hosts.maya.api import lib;" @@ -223,4 +223,4 @@ def on_task_changed(*args): lib.show_message( "Context was changed", ("Context was changed to {}".format(avalon.Session["AVALON_ASSET"])), - ) \ No newline at end of file + )