Merge pull request #373 from loles/config

Do not try to open directories
This commit is contained in:
Jędrzej Nowak 2015-11-25 16:10:49 +01:00
commit 213bf3b58a

View File

@ -38,6 +38,8 @@ def from_configs():
for path in paths:
if not os.path.exists(path):
continue
if not os.path.isfile(path):
continue
with open(path) as f:
loaded = yaml.load(f)
if loaded: