Merge pull request #373 from loles/config
Do not try to open directories
This commit is contained in:
commit
213bf3b58a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user