Lookup vals only if config was found

This commit is contained in:
Łukasz Oleś 2015-11-20 12:04:06 +01:00
parent ffd388e6ec
commit eaad0d4dd5

View File

@ -48,7 +48,8 @@ def from_configs():
for key in path:
vals = vals[key]
config[path[-1]] = vals
_lookup_vals(_setter, C)
if data:
_lookup_vals(_setter, C)
def from_env():