From d1402ce8374fac5a9db03b13a4396e7fb9441e4d Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 1 Jun 2021 15:02:17 +0200 Subject: [PATCH] typo fixes --- openpype/lib/avalon_context.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpype/lib/avalon_context.py b/openpype/lib/avalon_context.py index 35ca6cd779..c85429b049 100644 --- a/openpype/lib/avalon_context.py +++ b/openpype/lib/avalon_context.py @@ -1381,7 +1381,7 @@ def get_custom_workfile_template_by_context( return None -def get_custom_workfile_templates_by_string_context( +def get_custom_workfile_template_by_string_context( template_profiles, project_name, asset_name, task_name, dbcon=None, anatomy=None ): @@ -1441,7 +1441,7 @@ def get_custom_workfile_templates_by_string_context( ) -def get_custom_workfile_templates(template_profiles): +def get_custom_workfile_template(template_profiles): """Filter and fill workfile template profiles by current context. Current context is defined by `avalon.api.Session`. That's why this @@ -1457,7 +1457,7 @@ def get_custom_workfile_templates(template_profiles): # Use `avalon.io` as Mongo connection from avalon import io - return get_custom_workfile_templates_by_string_context( + return get_custom_workfile_template_by_string_context( template_profiles, io.Session["AVALON_PROJECT"], io.Session["AVALON_ASSET"],