Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix initial run

Manav Rathiadda781dcc1e
diff --git a/web/apps/photos/src/services/machineLearning/machineLearningService.ts b/web/apps/photos/src/services/machineLearning/machineLearningService.ts
index 058f2f001d..bf663ee3e2 100644
--- a/web/apps/photos/src/services/machineLearning/machineLearningService.ts
+++ b/web/apps/photos/src/services/machineLearning/machineLearningService.ts
@@ -523,10 +523,10 @@ class MachineLearningService {
enteFile: EnteFile,
localFile?: globalThis.File,
) {
- console.log("Syncing for file" + enteFile.title);
+ log.debug(() => ({ a: "Syncing file", enteFile }));
const fileContext: MLSyncFileContext = { enteFile, localFile };
const oldMlFile = await this.getMLFileData(enteFile.id);
- if (oldMlFile) {
+ if (oldMlFile && oldMlFile.mlVersion) {
return oldMlFile;
}