diff --git a/db/integrations/komoot/komoot.go b/db/integrations/komoot/komoot.go index 57be564f..ca4767af 100644 --- a/db/integrations/komoot/komoot.go +++ b/db/integrations/komoot/komoot.go @@ -374,6 +374,9 @@ func fetchRoutePhotos(tour *DetailedKomootTour) ([]*filesystem.File, error) { if err != nil { return nil, err } + if strings.HasSuffix(photo.Name, ".gif") { + continue + } photos[i] = photo //TODO: komoot photos can have location data. Maybe we should create a waypoint for those photos? @@ -391,6 +394,9 @@ func fetchWaypointPhotos(wp Item) ([]*filesystem.File, error) { if err != nil { return nil, err } + if strings.HasSuffix(photo.Name, ".gif") { + continue + } photos[i] = photo }