[tor-commits] [oonib/master] Use correct config path

art at torproject.org art at torproject.org
Wed Sep 11 09:13:51 UTC 2013


commit b13875e947ecb4cf2931cd5da869017066a56f37
Author: aagbsn <aagbsn at extc.org>
Date:   Mon Jul 1 17:56:23 2013 +0200

    Use correct config path
---
 oonib/report/api.py |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/oonib/report/api.py b/oonib/report/api.py
index c250e71..871836b 100644
--- a/oonib/report/api.py
+++ b/oonib/report/api.py
@@ -49,8 +49,10 @@ reportingBackendAPI = [
     (r"/report/([a-zA-Z0-9_\-]+)/close", file_collector.CloseReportHandlerFile),
     (r"/report", file_collector.NewReportHandlerFile),
     (r"/pcap", file_collector.PCAPReportHandler),
-    (r"/deck/([a-z0-9]{40})$", web.StaticFileHandler, {"path": config.deck_dir}),
-    (r"/input/([a-z0-9]{40})$", web.StaticFileHandler, {"path": config.input_dir}),
+    (r"/deck/([a-z0-9]{40})$", web.StaticFileHandler, {"path":
+        config.main.deck_dir}),
+    (r"/input/([a-z0-9]{40})$", web.StaticFileHandler, {"path":
+        config.main.input_dir}),
 ]
 
 reportingBackend = web.Application(reportingBackendAPI, debug=True)





More information about the tor-commits mailing list