Skip to content

Commit

Permalink
debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
moonyuet committed Jul 18, 2024
1 parent 6fc1f24 commit dbcfca4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/ayon_max/hooks/pre_copy_mxp.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def execute(self):
self.log.warning("No mxp workspace setting found in the "
"latest Max Addon.")
return
enabled_project_creation = max_setting["mxp_workspace"].get("enabled_project_creation")
enabled_project_creation = mxp_workspace.get("enabled_project_creation")
if not enabled_project_creation:
self.log.warning("3dsmax project creation is not enabled. "
self.log.warning("3dsmax project creation is disabled. "
"Skipping creating workspace.mxp to workdir.")
return
workdir = self.launch_context.env.get("AYON_WORKDIR")
Expand Down

0 comments on commit dbcfca4

Please sign in to comment.