diff --git a/pype/plugins/maya/create/create_render.py b/pype/plugins/maya/create/create_render.py index b2256af455..4d775dab52 100644 --- a/pype/plugins/maya/create/create_render.py +++ b/pype/plugins/maya/create/create_render.py @@ -35,7 +35,7 @@ class CreateRender(avalon.maya.Creator): _image_prefixes = { 'mentalray': 'maya///_', - 'vray': '"maya///', + 'vray': 'maya///', 'arnold': 'maya///_', 'renderman': 'maya///_', 'redshift': 'maya///_' diff --git a/pype/plugins/maya/publish/collect_render.py b/pype/plugins/maya/publish/collect_render.py index bfb6e79cba..41b4f2cc7c 100644 --- a/pype/plugins/maya/publish/collect_render.py +++ b/pype/plugins/maya/publish/collect_render.py @@ -192,7 +192,7 @@ class CollectMayaRender(pyblish.api.ContextPlugin): # in expectedFiles. If so, raise error as we cannot attach AOV # (considered to be subset on its own) to another subset if attachTo: - assert len(exp_files[0].keys()) == 1, ( + assert isinstance(exp_files, dict) is True, ( "attaching multiple AOVs or renderable cameras to " "subset is not supported" )