diff --git a/openpype/tools/new_publisher/control.py b/openpype/tools/new_publisher/control.py index 76ecf6e2df..b390693147 100644 --- a/openpype/tools/new_publisher/control.py +++ b/openpype/tools/new_publisher/control.py @@ -62,7 +62,7 @@ class PublisherController: publish_plugins = pyblish.api.discover() self.publish_plugins = publish_plugins - project_name = avalon.api.Session["AVALON_PROJECT"] + project_name = self.dbcon.Session["AVALON_PROJECT"] system_settings = get_system_settings() project_settings = get_project_settings(project_name)