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
commit87da0d3f01519b0cf445bfcc4508a9aa05c3c02c (patch)
tree967527d3f3b85ec9cac01c35af962cbd3634ecad
parentedbbbc19ba6f636aee19890aba2ec082d45c1034 (diff)
downloadserverdata-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.java1
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) {