publisher: missing version in subset prop

This commit is contained in:
Jakub Jezek 2021-07-23 16:36:10 +02:00
parent 94352a7f02
commit 5293718d0c
No known key found for this signature in database
GPG key ID: D8548FBF690B100A

View file

@ -181,7 +181,8 @@ class CollectInstances(pyblish.api.InstancePlugin):
}
})
for subset, properities in self.subsets.items():
if properities["version"] == 0:
version = properities.get("version")
if version and version == 0:
properities.pop("version")
# adding Review-able instance