Skip to content

Commit

Permalink
Fixed the number of similar images/videos per group in saved results. (
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesage authored Jul 10, 2023
1 parent 9e6cc35 commit 2dabb78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion czkawka_core/src/similar_images.rs
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ impl SaveResults for SimilarImages {
write!(writer, "{} images which have similar friends\n\n", self.similar_vectors.len()).unwrap();

for struct_similar in &self.similar_vectors {
writeln!(writer, "Found {} images which have similar friends", self.similar_vectors.len()).unwrap();
writeln!(writer, "Found {} images which have similar friends", struct_similar.len()).unwrap();
for file_entry in struct_similar {
writeln!(
writer,
Expand Down
2 changes: 1 addition & 1 deletion czkawka_core/src/similar_videos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ impl SaveResults for SimilarVideos {
write!(writer, "{} videos which have similar friends\n\n", self.similar_vectors.len()).unwrap();

for struct_similar in &self.similar_vectors {
writeln!(writer, "Found {} videos which have similar friends", self.similar_vectors.len()).unwrap();
writeln!(writer, "Found {} videos which have similar friends", struct_similar.len()).unwrap();
for file_entry in struct_similar {
writeln!(writer, "{} - {}", file_entry.path.display(), format_size(file_entry.size, BINARY)).unwrap();
}
Expand Down

0 comments on commit 2dabb78

Please sign in to comment.