Merge pull request #274 from matthiasbeyer/libimagrt/config-file-path-builder-bug

Fix path building bug
This commit is contained in:
Matthias Beyer 2016-03-26 13:54:52 +01:00
commit 4fc365409a

View file

@ -213,7 +213,7 @@ fn fetch_config(rtp: &PathBuf) -> Result<Value> {
let variants = vec!["config", "config.toml", "imagrc", "imagrc.toml"];
let modifier = |base: &PathBuf, v: &'static str| {
let mut base = base.clone();
base.push(format!("/{}", v));
base.push(format!("{}", v));
base
};