diff --git a/openpype/hosts/maya/tools/mayalookassigner/arnold_standin.py b/openpype/hosts/maya/tools/mayalookassigner/arnold_standin.py index 449eacb40f..dfffbc5961 100644 --- a/openpype/hosts/maya/tools/mayalookassigner/arnold_standin.py +++ b/openpype/hosts/maya/tools/mayalookassigner/arnold_standin.py @@ -111,7 +111,8 @@ def get_standin_path(node): def shading_engine_assignments(shading_engine, attribute, nodes, assignments): shader_inputs = cmds.listConnections( - shading_engine + "." + attribute, source=True) + shading_engine + "." + attribute, source=True + ) if not shader_inputs: log.info( "Shading engine \"{}\" missing input \"{}\"".format( @@ -124,9 +125,9 @@ def shading_engine_assignments(shading_engine, attribute, nodes, assignments): for i, node in enumerate(nodes): if "." in node: log.warning( - ("Converting face assignment to full object " - "assignment. This conversion can be lossy: " - "{}").format(node)) + "Converting face assignment to full object assignment. This " + "conversion can be lossy: {}".format(node) + ) nodes[i] = node.split(".")[0] shader_type = "shader" if attribute == "surfaceShader" else "disp_map"