This commit is contained in:
Vasilii Milovidov
2023-10-16 14:26:58 +04:00
parent bfb32d89a9
commit fbcd28f09a
+1 -1
View File
@@ -378,7 +378,7 @@ pub fn create_filepath_generic(url_string: &str, dirname: &str) -> (Url, String,
.and_then(Iterator::last)
.and_then(|name| if name.is_empty() { None } else { Some(name) })
.unwrap_or("tmp.ben");
let file_path = format!("/Users/vasiliymilovidov/samples/{}{}", dirname, filename);
let file_path = format!("samples/{}{}", dirname, filename);
let file_path_clone = file_path.clone();
(url, file_path, file_path_clone)