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

[tor-commits] [oonib/master] Only consider descriptors



commit 2d1a18e80be7c4cd860dad8fc510a524a0f0453b
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Fri Aug 16 22:09:39 2013 +0200

    Only consider descriptors
---
 oonib/inputs/handlers.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oonib/inputs/handlers.py b/oonib/inputs/handlers.py
index cf056ba..373e275 100644
--- a/oonib/inputs/handlers.py
+++ b/oonib/inputs/handlers.py
@@ -26,7 +26,7 @@ class InputsDescHandler(OONIBHandler):
 
 class InputsListHandler(OONIBHandler):
     def get(self):
-        path = os.path.abspath(config.main.inputs_dir) + "/*"
+        path = os.path.abspath(config.main.inputs_dir) + "/*.desc"
         inputnames = map(os.path.basename, glob.iglob(path))
         inputList = []
         for inputname in inputnames:



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