mirror of
https://github.com/JaCoB1123/dupe-finder.git
synced 2026-04-23 20:12:02 +02:00
Fix condition for adding a cluster
This commit is contained in:
1 parent
eb6e492251
commit
ceab693f34
1 file changed
+1
-1
+1
-1
@@ -35,7 +35,7 @@ func (fm *FilesMap) getImageClusters() []imageCluster {
|
||||
currentCluster = append(currentCluster, similarImage{path: otherFile.path, distance: distance})
|
||||
}
|
||||
|
||||
if len(currentCluster) > 1 {
|
||||
if len(currentCluster) <= 1 {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user