From 1298cb5a765f871af8cf9a77ff42e9121036a2f3 Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Mon, 1 Jul 2024 12:04:00 +0200 Subject: [PATCH] AY-1232 - use faster method to check site sync enabled on project --- client/ayon_core/host/dirmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_core/host/dirmap.py b/client/ayon_core/host/dirmap.py index d809abaefd..8766e7485d 100644 --- a/client/ayon_core/host/dirmap.py +++ b/client/ayon_core/host/dirmap.py @@ -162,7 +162,7 @@ class HostDirmap(object): if ( sitesync_addon is None or not sitesync_addon.enabled - or project_name not in sitesync_addon.get_enabled_projects() + or not sitesync_addon.is_project_enabled(project_name, True) ): return mapping