Don't attempt to fetch missing images in changed list

This commit is contained in:
Christoph Hagen 2023-01-17 15:08:44 +01:00
parent f956b8b4d2
commit 026336f24d

View File

@ -144,6 +144,7 @@ final class ClassifierCreator {
return nil
}
let changedImageList = await getChangedImageList()
.filter { $0.image < imageCounts[$0.cap] ?? 0 } // Filter non-existent images
if changedImageList.isEmpty {
print("[INFO] No changed images to load")