1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

fix: skip places that no longer exist in geo import (#17637)

This commit is contained in:
Nils Uliczka
2025-04-15 23:27:47 +02:00
committed by GitHub
parent 7efcba2b12
commit be2f670d35

View File

@ -247,7 +247,7 @@ export class MapRepository {
let futures = []; let futures = [];
for await (const line of lineReader) { for await (const line of lineReader) {
const lineSplit = line.split('\t'); const lineSplit = line.split('\t');
if (lineSplit[7] === 'PPLX' && lineSplit[8] !== 'AU') { if ((lineSplit[7] === 'PPLX' && lineSplit[8] !== 'AU') || lineSplit[7] === 'PPLH') {
continue; continue;
} }