Lookup vals only if config was found
This commit is contained in:
parent
ffd388e6ec
commit
eaad0d4dd5
@ -48,7 +48,8 @@ def from_configs():
|
|||||||
for key in path:
|
for key in path:
|
||||||
vals = vals[key]
|
vals = vals[key]
|
||||||
config[path[-1]] = vals
|
config[path[-1]] = vals
|
||||||
_lookup_vals(_setter, C)
|
if data:
|
||||||
|
_lookup_vals(_setter, C)
|
||||||
|
|
||||||
|
|
||||||
def from_env():
|
def from_env():
|
||||||
|
Loading…
Reference in New Issue
Block a user