diff --git a/project/java/DataDownloader.java b/project/java/DataDownloader.java index c0d276ae8..2c4bad0e4 100644 --- a/project/java/DataDownloader.java +++ b/project/java/DataDownloader.java @@ -287,7 +287,7 @@ class DataDownloader extends Thread Log.i("SDL", "Downloading data to: '" + outFilesDir + "'"); try { File outDir = new File( outFilesDir ); - if( !(outDir.exists() && outDir.isDirectory()) ) + if( !outDir.exists() ) outDir.mkdirs(); OutputStream out = new FileOutputStream( getOutFilePath(".nomedia") ); out.flush();