mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
fix: Correct indentation in load_results function
This commit is contained in:
parent
e3ac8ab19d
commit
e334cbb5d4
1 changed files with 6 additions and 6 deletions
|
@ -428,12 +428,12 @@ def load_results(dirname, stats_languages=None):
|
||||||
|
|
||||||
for pattern in glob_patterns:
|
for pattern in glob_patterns:
|
||||||
for fname in dirname.glob(pattern):
|
for fname in dirname.glob(pattern):
|
||||||
try:
|
try:
|
||||||
results = json.loads(fname.read_text())
|
results = json.loads(fname.read_text())
|
||||||
all_results.append(results)
|
all_results.append(results)
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
print("json.JSONDecodeError", fname)
|
print("json.JSONDecodeError", fname)
|
||||||
continue
|
continue
|
||||||
return all_results
|
return all_results
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue