From aaba1e584241eb081de77ef39055cecab7309d27 Mon Sep 17 00:00:00 2001 From: Martin Peres Date: Tue, 2 May 2017 11:01:55 +0300 Subject: smartezbench: allow reports to have / in their names --- python-modules/ezbench/smartezbench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-modules/ezbench/smartezbench.py b/python-modules/ezbench/smartezbench.py index 9a80e76..76409da 100644 --- a/python-modules/ezbench/smartezbench.py +++ b/python-modules/ezbench/smartezbench.py @@ -79,7 +79,7 @@ class RunningMode(Enum): def list_smart_ezbench_report_names(ezbench_dir, updatedSince = 0): log_dir = ezbench_dir + '/logs' - state_files = glob.glob("{log_dir}/*/smartezbench.state".format(log_dir=log_dir)); + state_files = glob.glob("{}/**/smartezbench.state".format(log_dir), recursive=True) reports = [] for state_file in state_files: -- cgit v1.2.3