fix maya's on_startup callback

This commit is contained in:
iLLiCiTiT 2021-02-26 15:56:50 +01:00
parent 5d6c37e229
commit 112fe8ff51

View file

@ -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"])),
)
)