[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit b13875e947ecb4cf2931cd5da869017066a56f37
Author: aagbsn <aagbsn@xxxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits