Skip to content

Commit

Permalink
Merge pull request #1138 from camptocamp/backport/1137-to-3.4
Browse files Browse the repository at this point in the history
[Backport 3.4] Fix fetch master config
  • Loading branch information
sbrunner authored Aug 14, 2024
2 parents 05ac8ab + b5aaa8f commit 0500e32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/shared_config_manager/sources/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ def get_path(self) -> str:
if target_dir.startswith("/"):
return target_dir
else:
return os.path.join(_MASTER_TARGET if self._is_master else _TARGET, target_dir)
return _MASTER_TARGET if self._is_master else os.path.join(_TARGET, target_dir)
else:
return os.path.join(_MASTER_TARGET if self._is_master else _TARGET, self.get_id())
return _MASTER_TARGET if self._is_master else os.path.join(_TARGET, self.get_id())

def get_id(self) -> str:
return self._id
Expand Down

0 comments on commit 0500e32

Please sign in to comment.