Merge pull request #274 from matthiasbeyer/libimagrt/config-file-path-builder-bug
Fix path building bug
This commit is contained in:
commit
4fc365409a
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ fn fetch_config(rtp: &PathBuf) -> Result<Value> {
|
||||||
let variants = vec!["config", "config.toml", "imagrc", "imagrc.toml"];
|
let variants = vec!["config", "config.toml", "imagrc", "imagrc.toml"];
|
||||||
let modifier = |base: &PathBuf, v: &'static str| {
|
let modifier = |base: &PathBuf, v: &'static str| {
|
||||||
let mut base = base.clone();
|
let mut base = base.clone();
|
||||||
base.push(format!("/{}", v));
|
base.push(format!("{}", v));
|
||||||
base
|
base
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue