commit 40ae5159959d07bb5b6b83494e687ef24b63bc90 Author: iwakeh iwakeh@torproject.org Date: Wed Jul 20 16:30:31 2016 +0200
Changed another hard-coded directory reference. --- src/main/java/org/torproject/collector/relaydescs/ArchiveWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/torproject/collector/relaydescs/ArchiveWriter.java b/src/main/java/org/torproject/collector/relaydescs/ArchiveWriter.java index cbab5ea..4ad87f5 100644 --- a/src/main/java/org/torproject/collector/relaydescs/ArchiveWriter.java +++ b/src/main/java/org/torproject/collector/relaydescs/ArchiveWriter.java @@ -136,7 +136,7 @@ public class ArchiveWriter extends CollecTorMain { }
private void startProcessing() throws ConfigurationException { - File statsDirectory = new File("stats"); + File statsDirectory = config.getPath(Key.StatsPath).toFile(); this.outputDirectory = config.getPath(Key.DirectoryArchivesOutputDirectory).toString(); SimpleDateFormat rsyncCatFormat = new SimpleDateFormat( "yyyy-MM-dd-HH-mm-ss");
tor-commits@lists.torproject.org