Speedup gpx generation for travel articles
This commit is contained in:
parent
7e29530f59
commit
cf1866d8d5
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ public class TravelObfHelper implements TravelHelper {
|
||||||
if (article == null && articles == null) {
|
if (article == null && articles == null) {
|
||||||
article = findArticleById(articleId, lang);
|
article = findArticleById(articleId, lang);
|
||||||
}
|
}
|
||||||
if (article != null && !article.gpxFileRead && forceReadPoints) {
|
if (article != null && !article.gpxFileRead && forceReadPoints && !Algorithms.isEmpty(lang)) {
|
||||||
article.gpxFile = buildGpxFile(article);
|
article.gpxFile = buildGpxFile(article);
|
||||||
article.gpxFileRead = true;
|
article.gpxFileRead = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue