diff --git a/lib/domain/libimagwiki/src/store.rs b/lib/domain/libimagwiki/src/store.rs index 6b010f86..f0520398 100644 --- a/lib/domain/libimagwiki/src/store.rs +++ b/lib/domain/libimagwiki/src/store.rs @@ -42,7 +42,7 @@ impl WikiStore for Store { /// get a wiki by its name fn get_wiki<'a, 'b>(&'a self, name: &'b str) -> Result>> { - if wiki_path(name.as_ref())?.with_base(self.path().clone()).exists()? { + if self.exists(wiki_path(name.as_ref())?)? { debug!("Building Wiki object"); Ok(Some(Wiki::new(self, name))) } else {