This commit is contained in:
mxve 2023-10-28 19:49:21 +02:00
parent 58b57f48ad
commit 24a745abff

View File

@ -242,7 +242,7 @@ fn update_dir(
misc::human_readable_bytes(total_download_size(&files_to_download, remote_dir)) misc::human_readable_bytes(total_download_size(&files_to_download, remote_dir))
); );
for file in files_to_download { for file in files_to_download {
let file_name = &file.name.replace(&format!("{}/", remote_dir), "/"); let file_name = &file.name.replace(&remote_dir_pre, "");
let file_path = dir.join(file_name); let file_path = dir.join(file_name);
println!( println!(
"[{}] {} ({})", "[{}] {} ({})",