Merge branch 'develop' into bugfix/launcher_action_force_not_open_workfile_2nd_row_position

This commit is contained in:
Roy Nieterau 2025-01-07 06:30:41 +01:00 committed by GitHub
commit c285178e63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -117,10 +117,7 @@ class HostDirmap(ABC):
It checks if Site Sync is enabled and user chose to use local
site, in that case configuration in Local Settings takes precedence
"""
dirmap_label = "{}-dirmap".format(self.host_name)
mapping_sett = self.project_settings[self.host_name].get(dirmap_label,
{})
mapping_sett = self.project_settings[self.host_name].get("dirmap", {})
local_mapping = self._get_local_sync_dirmap()
mapping_enabled = mapping_sett.get("enabled") or bool(local_mapping)
if not mapping_enabled: