diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-24 12:48:52 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-24 12:48:52 -0700 |
commit | ef6dc20caa23e309f0274b15d53b4aa15a78912d (patch) | |
tree | 6d2b403a38d45807d3fda8199c8528b5e5e25cb8 | |
parent | 73cc6666a4f71f657de034042ec900b5d4e89f51 (diff) | |
download | tools-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.java | 1 |
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) { |