commit 2a2b195de0b80f057cafe10477bbb84e531c8340 Author: Karsten Loesing karsten.loesing@gmx.net Date: Tue Oct 4 10:10:01 2011 +0200
Create stats/ directory in ExoneraTor db importer. --- .../ernie/cron/ExoneraTorDatabaseImporter.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/org/torproject/ernie/cron/ExoneraTorDatabaseImporter.java b/src/org/torproject/ernie/cron/ExoneraTorDatabaseImporter.java index 95d894b..c89097a 100755 --- a/src/org/torproject/ernie/cron/ExoneraTorDatabaseImporter.java +++ b/src/org/torproject/ernie/cron/ExoneraTorDatabaseImporter.java @@ -494,6 +494,7 @@ public class ExoneraTorDatabaseImporter { /* Write parse history from memory to disk for the next execution. */ private static void writeImportHistoryToDisk() { File parseHistoryFile = new File("stats/exonerator-import-history"); + parseHistoryFile.getParentFile().mkdirs(); try { BufferedWriter bw = new BufferedWriter(new FileWriter( parseHistoryFile));