mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix: skip places that no longer exist in geo import (#17637)
This commit is contained in:
parent
7efcba2b12
commit
be2f670d35
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue