diff --git a/client/ayon_deadline/plugins/publish/maya/submit_maya_deadline.py b/client/ayon_deadline/plugins/publish/maya/submit_maya_deadline.py index a4fe802a3b..38439ce237 100644 --- a/client/ayon_deadline/plugins/publish/maya/submit_maya_deadline.py +++ b/client/ayon_deadline/plugins/publish/maya/submit_maya_deadline.py @@ -63,8 +63,8 @@ def _validate_deadline_bool_value(self): ) if self.RenderSetupIncludeLights not in {"1", "0", True, False}: raise ValueError( - ("Value of {} must be one of " - "'0', '1', True, False").format("RenderSetupIncludeLights") + "Value of 'RenderSetupIncludeLights' must be one of " + "'0', '1', True, False" )