From d36f9cdd9bbd2e160dc0eb614429e68a39210a0c Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Wed, 10 Jul 2024 13:50:52 +0200 Subject: [PATCH] Added additional TODO --- client/ayon_core/host/dirmap.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/ayon_core/host/dirmap.py b/client/ayon_core/host/dirmap.py index fa3996e5fb..cc0186b9ca 100644 --- a/client/ayon_core/host/dirmap.py +++ b/client/ayon_core/host/dirmap.py @@ -220,10 +220,13 @@ class HostDirmap(object): return mapping def _get_site_root_overrides( - self, sitesync_addon, project_name, site_name): + self, sitesync_addon, project_name, site_name + ): """Safely handle root overrides. SiteSync raises ValueError for non local or studio sites. + TODO: could be removed when `get_site_root_overrides` is not raising + an Error but just returns {} """ try: site_roots_overrides = sitesync_addon.get_site_root_overrides(