refactor: cleanup

This commit is contained in:
Florian Hönicke
2023-05-09 23:40:53 +02:00
parent 53e627aa81
commit d3f9c230cf

View File

@@ -126,7 +126,7 @@ metas:
content = parse_result_fn(content_raw)
if content == {}:
content_raw = conversation.chat(
'You must add the content' + (f' for {file_name_s[0]}' if len(file_name_s) == 1 else ''))
'You must add the content in the format shown above' + (f' for {file_name_s[0]}' if len(file_name_s) == 1 else ''))
content = parse_result_fn(content_raw)
for _file_name, _file_content in content.items():
persist_file(_file_content, os.path.join(destination_folder, _file_name))