Update DataExtractionOSM/src/net/osmand/data/index/IndexBatchCreator.java

This commit is contained in:
vshcherb 2012-01-04 17:26:59 +01:00
parent a0f06cd665
commit 1f8222d84a

View file

@ -310,6 +310,9 @@ public class IndexBatchCreator {
} else { } else {
toIndex = wgetDownload(url, saveTo); toIndex = wgetDownload(url, saveTo);
} }
if(toIndex == null) {
saveTo.delete();
}
return toIndex; return toIndex;
} }