diff --git a/src/AuDaGe/__init__.py b/src/AuDaGe/__init__.py index 0e95d0a..b6ebb09 100644 --- a/src/AuDaGe/__init__.py +++ b/src/AuDaGe/__init__.py @@ -9,6 +9,7 @@ desc: Global variables for the AuDaGe package. """ from importlib import resources +from pathlib import Path import yaml @@ -22,4 +23,6 @@ when calling AuDaGe from the command line with the argument `--unsafe`. config_path = resources.files().joinpath(CONFIG_PATH) with config_path.open("r") as config_file: - folders: list[str] = yaml.safe_load(config_file.read())["folders"] \ No newline at end of file + folders: list[Path] = [ + Path(folder) for folder in yaml.safe_load(config_file.read())["folders"] + ]