commit 7f70fc8cdfffd9917bad6fa7b001ed8fbcceda42
Author: Ana Custura <a...@netstat.org.uk>
Date:   Wed Jun 3 10:56:17 2020 +0100

    Updates pattern for matching analysis files
---
 onionperf/onionperf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/onionperf/onionperf b/onionperf/onionperf
index 2c92703..9c7f290 100755
--- a/onionperf/onionperf
+++ b/onionperf/onionperf
@@ -474,7 +474,7 @@ class PathStringArgsAction(argparse.Action):
             if not os.path.exists(p): raise argparse.ArgumentError(self, "The 
supplied path does not exist: '{0}'".format(p))
             if os.path.isdir(p):
                 from onionperf import reprocessing
-                dir_paths.extend(reprocessing.collect_logs(item, "*json*"))
+                dir_paths.extend(reprocessing.collect_logs(item, 
"*onionperf.analysis.json*"))
 
         # remove any directories from the list of paths
         paths = [p for p in paths if not os.path.isdir(p)]



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

Reply via email to