diff --git a/frappy/lib/__init__.py b/frappy/lib/__init__.py index b038fe8..5ad0ef4 100644 --- a/frappy/lib/__init__.py +++ b/frappy/lib/__init__.py @@ -116,7 +116,10 @@ class GeneralConfig: for key in mandatory: env = environ.get(f'FRAPPY_{key.upper()}') if env is not None: - cfg[key] = Path(env) + if ':' in env: + cfg[key] = [Path(v) for v in env.split(':')] + else: + cfg[key] = Path(env) missing_keys = [ key for key in mandatory if cfg.get(key) is None and self.defaults.get(key) is None