diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index 763c0f727..200fb9051 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -428,12 +428,12 @@ def load_results(dirname, stats_languages=None): for pattern in glob_patterns: for fname in dirname.glob(pattern): - try: - results = json.loads(fname.read_text()) - all_results.append(results) - except json.JSONDecodeError: - print("json.JSONDecodeError", fname) - continue + try: + results = json.loads(fname.read_text()) + all_results.append(results) + except json.JSONDecodeError: + print("json.JSONDecodeError", fname) + continue return all_results