summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-06-24 12:48:52 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-06-24 12:48:52 -0700
commitef6dc20caa23e309f0274b15d53b4aa15a78912d (patch)
tree6d2b403a38d45807d3fda8199c8528b5e5e25cb8
parent73cc6666a4f71f657de034042ec900b5d4e89f51 (diff)
downloadtools-ef6dc20caa23e309f0274b15d53b4aa15a78912d.tar.gz
tools-ef6dc20caa23e309f0274b15d53b4aa15a78912d.tar.bz2
tools-ef6dc20caa23e309f0274b15d53b4aa15a78912d.tar.xz
tools-ef6dc20caa23e309f0274b15d53b4aa15a78912d.zip
Fix converter failing to create new directories
-rw-r--r--tmwcon/src/converter/Main.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmwcon/src/converter/Main.java b/tmwcon/src/converter/Main.java
index ab7786a..6c75fdc 100644
--- a/tmwcon/src/converter/Main.java
+++ b/tmwcon/src/converter/Main.java
@@ -48,6 +48,7 @@ public class Main {
public static PrintWriter getWriter(File f) {
try {
+ f.getParentFile().mkdir();
f.createNewFile();
return new PrintWriter(f);
} catch (Exception e) {