diff --git a/DataExtractionOSM/src/net/osmand/data/index/IndexBatchCreator.java b/DataExtractionOSM/src/net/osmand/data/index/IndexBatchCreator.java index bfe71a8b2a..8444c49367 100644 --- a/DataExtractionOSM/src/net/osmand/data/index/IndexBatchCreator.java +++ b/DataExtractionOSM/src/net/osmand/data/index/IndexBatchCreator.java @@ -300,7 +300,7 @@ public class IndexBatchCreator { String ext = ".osm"; if(url.endsWith(".osm.bz2")){ ext = ".osm.bz2"; - } else if(url.endsWith(".osm.pbf")){ + } else if(url.endsWith(".pbf")){ ext = ".osm.pbf"; } File toIndex = null;