Merge pull request #352 from loles/c

Lookup vals only if config was found
This commit is contained in:
Jędrzej Nowak 2015-11-20 12:10:12 +01:00
commit dac499c001

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():