commit 2d1a18e80be7c4cd860dad8fc510a524a0f0453b Author: Arturo Filastò art@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:
tor-commits@lists.torproject.org