Create parent directory for bo3

This commit is contained in:
Jesse Boyd 2016-05-18 16:35:28 +10:00
parent 1b9c92fd4a
commit 1ece792e2b

View File

@ -251,6 +251,7 @@ public class BO3Handler {
try { try {
File bo3File = bo3.getFile(); File bo3File = bo3.getFile();
bo3File.createNewFile(); bo3File.createNewFile();
bo3File.getParentFile().mkdirs();
try (FileOutputStream fos = new FileOutputStream(bo3File)) { try (FileOutputStream fos = new FileOutputStream(bo3File)) {
write(fos, plot, bo3); write(fos, plot, bo3);
} }