From b02cb7e3db427ff99df03cc970efe441ace156da Mon Sep 17 00:00:00 2001 From: wikoreman Date: Thu, 19 Jul 2018 11:08:15 +0200 Subject: [PATCH] simplified check for pools --- colorbleed/plugins/maya/publish/collect_renderlayers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorbleed/plugins/maya/publish/collect_renderlayers.py b/colorbleed/plugins/maya/publish/collect_renderlayers.py index 2a377a933e..c8156836a2 100644 --- a/colorbleed/plugins/maya/publish/collect_renderlayers.py +++ b/colorbleed/plugins/maya/publish/collect_renderlayers.py @@ -125,7 +125,7 @@ class CollectMayaRenderlayers(pyblish.api.ContextPlugin): # Check for specific pools pool_str = attributes.get("pools", None) - if pool_str is not None and not "": + if pool_str: pools = pool_str.split(";") options["renderGlobals"]["Pool"] = pools[0] if len(pools) > 1: