Update json_to_md.py

This commit is contained in:
2025-07-22 15:03:15 +02:00
parent f20289a59c
commit 00e84690b4
+1
View File
@@ -366,6 +366,7 @@ def run_pytest_and_generate_banner_with_logs(md_path, log_path, exit_code):
try:
with open(md_path, "w") as f:
full_banner = full_banner.encode('utf-8', 'ignore').decode('utf-8')
f.write(full_banner + original_md)
print("✅ Banner and log summary added to markdown report.")
except Exception as e: