Merge pull request #275 from matthiasbeyer/libimagrt/config-file-search-filter-bug
Fix Config-file searching filter bug
This commit is contained in:
commit
b2329c323a
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ fn fetch_config(rtp: &PathBuf) -> Result<Value> {
|
|||
.unwrap_or(vec![]),
|
||||
].iter()
|
||||
.flatten()
|
||||
.filter(|path| path.exists())
|
||||
.filter(|path| path.exists() && path.is_file())
|
||||
.map(|path| {
|
||||
let content = {
|
||||
let mut s = String::new();
|
||||
|
|
Loading…
Reference in a new issue