Expand user path.

This commit is contained in:
Robin Huang 2024-09-09 15:11:25 +09:00
parent cd4955367e
commit f52129e90e

View File

@ -190,6 +190,7 @@ def load_extra_path_config(yaml_path):
base_path = None base_path = None
if "base_path" in conf: if "base_path" in conf:
base_path = conf.pop("base_path") base_path = conf.pop("base_path")
base_path = os.path.expanduser(base_path)
for x in conf: for x in conf:
for y in conf[x].split("\n"): for y in conf[x].split("\n"):
if len(y) == 0: if len(y) == 0: