fix case where confdir is a list of paths
This commit is contained in:
parent
3c69dcb170
commit
f382a01d86
@ -116,6 +116,9 @@ class GeneralConfig:
|
||||
for key in mandatory:
|
||||
env = environ.get(f'FRAPPY_{key.upper()}')
|
||||
if env is not None:
|
||||
if ':' in env:
|
||||
cfg[key] = [Path(v) for v in env.split(':')]
|
||||
else:
|
||||
cfg[key] = Path(env)
|
||||
missing_keys = [
|
||||
key for key in mandatory
|
||||
|
Loading…
x
Reference in New Issue
Block a user