From 12f31cae954f203ef1db9e4df5ba44bedf6e4a35 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Mon, 15 Jul 2024 15:51:53 +0200 Subject: [PATCH] fix str type check --- client/ayon_core/lib/path_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_core/lib/path_templates.py b/client/ayon_core/lib/path_templates.py index 2f5282c2fa..e04fb95d70 100644 --- a/client/ayon_core/lib/path_templates.py +++ b/client/ayon_core/lib/path_templates.py @@ -455,7 +455,7 @@ class FormattingPart: return True for inh_class in type(value).mro(): - if inh_class in str: + if isinstance(inh_class, str): return True return False