Save storepath in extra variable
This commit is contained in:
parent
8a2c41ea22
commit
1038880de9
1 changed files with 2 additions and 1 deletions
|
@ -233,8 +233,9 @@ impl StorageBackend {
|
||||||
fn build_filepath_with_id(&self, owner: &Module, id: FileID) -> String {
|
fn build_filepath_with_id(&self, owner: &Module, id: FileID) -> String {
|
||||||
debug!("Building filepath with id");
|
debug!("Building filepath with id");
|
||||||
debug!(" basepath: '{}'", self.basepath);
|
debug!(" basepath: '{}'", self.basepath);
|
||||||
|
debug!(" storepath: '{}'", self.storepath);
|
||||||
debug!(" id : '{}'", id);
|
debug!(" id : '{}'", id);
|
||||||
self.basepath.clone() + owner.name() + "-" + &id[..] + ".imag"
|
self.storepath.clone() + owner.name() + "-" + &id[..] + ".imag"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue