diff --git a/src/utils/config.py b/src/utils/config.py index e767816a8..705c399c2 100644 --- a/src/utils/config.py +++ b/src/utils/config.py @@ -1017,8 +1017,10 @@ class PathQuestion(Question): name=option.get("name"), error="Question is mandatory", ) - - return "/" + value.strip().strip(" /") + value = value.strip().strip(" /") + if not value.startswith("~"): + value = "/" + value + return value class BooleanQuestion(Question):