Update DataExtractionOSM/src/net/osmand/data/index/IndexBatchCreator.java
This commit is contained in:
parent
a0f06cd665
commit
1f8222d84a
1 changed files with 3 additions and 0 deletions
|
@ -310,6 +310,9 @@ public class IndexBatchCreator {
|
|||
} else {
|
||||
toIndex = wgetDownload(url, saveTo);
|
||||
}
|
||||
if(toIndex == null) {
|
||||
saveTo.delete();
|
||||
}
|
||||
return toIndex;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue