fix: add utf-8 encoding to report file writes
This commit is contained in:
parent
fa4d01c23a
commit
0722809543
|
|
@ -1005,7 +1005,7 @@ def run_analysis():
|
|||
if content:
|
||||
file_name = f"{section_name}.md"
|
||||
text = "\n".join(str(item) for item in content) if isinstance(content, list) else content
|
||||
with open(report_dir / file_name, "w") as f:
|
||||
with open(report_dir / file_name, "w", encoding="utf-8") as f:
|
||||
f.write(text)
|
||||
return wrapper
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue