fix: ensure project_path always ends with /
This commit is contained in:
@@ -237,6 +237,8 @@ class ProjectSource:
|
||||
def hold_config(self, manager_url, project_name, file_name, sequence_number, label):
|
||||
proj = _fetch_project(manager_url, project_name)
|
||||
folder_path = proj.get("folder_path", "") if "error" not in proj else ""
|
||||
if folder_path and not folder_path.endswith("/"):
|
||||
folder_path += "/"
|
||||
return (sequence_number, file_name, folder_path)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user