diff --git a/frappy/lib/__init__.py b/frappy/lib/__init__.py index 96b9eae..93e0538 100644 --- a/frappy/lib/__init__.py +++ b/frappy/lib/__init__.py @@ -98,7 +98,10 @@ class GeneralConfig: missing_keys.append(key) else: if not isinstance(env, Path): - env = [Path(v) for v in env.split(':')] + if key == 'confdir': + env = [Path(v) for v in env.split(':')] + else: + env = Path(env) cfg[key] = env if missing_keys: if configfile: