diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-03-26 13:55:02 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-03-26 13:55:02 +0100 |
commit | b2329c323aef20f485ba75a70827af6572774c31 (patch) | |
tree | be23d06863ae70d54bc6358f699d7e19e0c54973 /libimagrt | |
parent | 4fc365409aed71a5b83b157c941a67d5e7b07fd1 (diff) | |
parent | 97c0d4c057811dd57d93caf7aaed0d1e8c8883a1 (diff) |
Merge pull request #275 from matthiasbeyer/libimagrt/config-file-search-filter-bug
Fix Config-file searching filter bug
Diffstat (limited to 'libimagrt')
-rw-r--r-- | libimagrt/src/configuration.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libimagrt/src/configuration.rs b/libimagrt/src/configuration.rs index 405933c5..995e4fb9 100644 --- a/libimagrt/src/configuration.rs +++ b/libimagrt/src/configuration.rs @@ -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(); |