mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 12:45:26 +01:00
Simplify archiving process (#469)
* simplify args * Fix tests * Black format
This commit is contained in:
@@ -125,7 +125,10 @@ def insert_markdown_section(file_path, section_title, section_text, level):
|
||||
if line_number != -1:
|
||||
lines.insert(line_number, new_section)
|
||||
else:
|
||||
print(f"Markdown file was of unexpected format. No section of level {level} found. Did not write results.")
|
||||
print(
|
||||
f"Markdown file was of unexpected format. No section of level {level} found. "
|
||||
"Did not write results."
|
||||
)
|
||||
return
|
||||
|
||||
# Write the file
|
||||
|
||||
Reference in New Issue
Block a user