Fix path building bug

This commit is contained in:
Matthias Beyer 2016-03-25 15:09:58 +01:00
parent 9f8a648600
commit 94e56108e8

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
};