From 4d4a39dfe4cc45e4292d6d5f98ceff2b2be860f0 Mon Sep 17 00:00:00 2001 From: Ondrej Samohel Date: Thu, 18 Nov 2021 11:35:41 +0100 Subject: [PATCH] add darwin and fix hound --- openpype/hosts/maya/plugins/publish/collect_render.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpype/hosts/maya/plugins/publish/collect_render.py b/openpype/hosts/maya/plugins/publish/collect_render.py index 3228151ff7..59f931c84e 100644 --- a/openpype/hosts/maya/plugins/publish/collect_render.py +++ b/openpype/hosts/maya/plugins/publish/collect_render.py @@ -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(