Remove unnecessary var statement.

This commit is contained in:
macman 2022-06-20 11:29:19 +03:00
parent 2a78532ead
commit 7e1015004c

View file

@ -42,7 +42,7 @@ class ValidateRenderSingleCamera(pyblish.api.InstancePlugin):
file_prefix = cmds.getAttr(
RenderSettings.get_image_prefix_attr(renderer)
)
file_prefix = cmds.getAttr(attr)
if len(cameras) > 1:
if re.search(cls.R_CAMERA_TOKEN, file_prefix):