Skip to content

Commit 082a842

Browse files
authored
Merge pull request #1567 from Bolajiadesina/feature/fix-multiagents-docx-path-v2
fix: avoid double .docx extension in multi_agents write_md_to_word
2 parents 17778d1 + a535130 commit 082a842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multi_agents/agents/utils/file_formats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async def write_md_to_word(text: str, path: str) -> str:
9393

9494
print(f"Report written to {file_path}")
9595

96-
encoded_file_path = urllib.parse.quote(f"{file_path}.docx")
96+
encoded_file_path = urllib.parse.quote(file_path)
9797
return encoded_file_path
9898

9999
except Exception as e:

0 commit comments

Comments
 (0)