summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2017-05-02 11:01:55 +0300
committerMartin Peres <martin.peres@linux.intel.com>2017-10-04 17:48:28 +0300
commitaaba1e584241eb081de77ef39055cecab7309d27 (patch)
treeba9804be39e20f9d24cab2f70eb63505077717c8
parentf1fdcfc1692c9d384ee4b46e1ae54843d71ec6b0 (diff)
smartezbench: allow reports to have / in their names
-rw-r--r--python-modules/ezbench/smartezbench.py2
1 files changed, 1 insertions, 1 deletions
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: