[tor-commits] [collector/master] Changed another hard-coded directory reference.
karsten at torproject.org
karsten at torproject.org
Mon Jul 25 19:54:28 UTC 2016
commit 40ae5159959d07bb5b6b83494e687ef24b63bc90
Author: iwakeh <iwakeh at 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");
More information about the tor-commits
mailing list