From 606767a284e25348b2aefa18f118f4b54ea06171 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 15 Dec 2020 13:11:06 +0100 Subject: [PATCH 1/2] fix loading of "ftrack" key --- pype/modules/ftrack/actions/action_create_cust_attrs.py | 2 +- pype/modules/ftrack/lib/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pype/modules/ftrack/actions/action_create_cust_attrs.py b/pype/modules/ftrack/actions/action_create_cust_attrs.py index 68fae16382..a63c77c198 100644 --- a/pype/modules/ftrack/actions/action_create_cust_attrs.py +++ b/pype/modules/ftrack/actions/action_create_cust_attrs.py @@ -211,7 +211,7 @@ class CustomAttributes(BaseAction): self.groups = {} - self.ftrack_settings = get_system_settings()["modules"]["Ftrack"] + self.ftrack_settings = get_system_settings()["modules"]["ftrack"] self.attrs_presets = self.prepare_attribute_pressets() def prepare_attribute_pressets(self): diff --git a/pype/modules/ftrack/lib/settings.py b/pype/modules/ftrack/lib/settings.py index e8cff482db..52c93ae62f 100644 --- a/pype/modules/ftrack/lib/settings.py +++ b/pype/modules/ftrack/lib/settings.py @@ -15,7 +15,7 @@ USER_HANDLERS_DIR = os.path.join(FTRACK_MODULE_DIR, "actions") def get_ftrack_settings(): - return get_system_settings()["modules"]["Ftrack"] + return get_system_settings()["modules"]["ftrack"] def get_ftrack_url_from_settings(): From 750c723186ea014e324c107ff446e9d23ef7ad25 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 15 Dec 2020 13:11:13 +0100 Subject: [PATCH 2/2] fix of loading "muster" key --- pype/plugins/maya/publish/submit_maya_muster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pype/plugins/maya/publish/submit_maya_muster.py b/pype/plugins/maya/publish/submit_maya_muster.py index 37bb3ad4c8..b10c4ecbbb 100644 --- a/pype/plugins/maya/publish/submit_maya_muster.py +++ b/pype/plugins/maya/publish/submit_maya_muster.py @@ -25,7 +25,7 @@ def _get_template_id(renderer): :rtype: int """ - templates = get_system_settings()["modules"]["Muster"]["templates_mapping"] + templates = get_system_settings()["modules"]["muster"]["templates_mapping"] if not templates: raise RuntimeError(("Muster template mapping missing in " "pype-settings"))