Save storepath in extra variable

This commit is contained in:
Matthias Beyer 2015-11-28 13:03:54 +01:00
parent 8a2c41ea22
commit 1038880de9
1 changed files with 2 additions and 1 deletions

View File

@ -233,8 +233,9 @@ impl StorageBackend {
fn build_filepath_with_id(&self, owner: &Module, id: FileID) -> String {
debug!("Building filepath with id");
debug!(" basepath: '{}'", self.basepath);
debug!(" storepath: '{}'", self.storepath);
debug!(" id : '{}'", id);
self.basepath.clone() + owner.name() + "-" + &id[..] + ".imag"
self.storepath.clone() + owner.name() + "-" + &id[..] + ".imag"
}
}