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 | 87da0d3f01519b0cf445bfcc4508a9aa05c3c02c (patch) | |
tree | 967527d3f3b85ec9cac01c35af962cbd3634ecad | |
parent | edbbbc19ba6f636aee19890aba2ec082d45c1034 (diff) | |
download | serverdata-87da0d3f01519b0cf445bfcc4508a9aa05c3c02c.tar.gz serverdata-87da0d3f01519b0cf445bfcc4508a9aa05c3c02c.tar.bz2 serverdata-87da0d3f01519b0cf445bfcc4508a9aa05c3c02c.tar.xz serverdata-87da0d3f01519b0cf445bfcc4508a9aa05c3c02c.zip |
Fix converter failing to create new directories
-rw-r--r-- | tools/tmwcon/src/converter/Main.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/tmwcon/src/converter/Main.java b/tools/tmwcon/src/converter/Main.java index ab7786a9..6c75fdca 100644 --- a/tools/tmwcon/src/converter/Main.java +++ b/tools/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) { |