add darwin and fix hound

This commit is contained in:
Ondrej Samohel 2021-11-18 11:35:41 +01:00
parent d32bf44a0f
commit 4d4a39dfe4
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -256,9 +256,9 @@ class CollectMayaRender(pyblish.api.ContextPlugin):
common_publish_meta_path, part)
if part == expected_layer_name:
break
# TODO: replace this terrible linux hotfix with real solution :)
if platform.system() == "Linux":
# TODO: replace this terrible linux hotfix with real solution :)
if platform.system().lower() in ["linux", "darwin"]:
common_publish_meta_path = "/" + common_publish_meta_path
self.log.info(