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(