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

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


commit 2d1a18e80be7c4cd860dad8fc510a524a0f0453b
Author: Arturo Filastò <art at fuffa.org>
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:





More information about the tor-commits mailing list