Skip to content

Commit d27fe48

Browse files
Update docs/examples/basic_report.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 61066f6 commit d27fe48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples/basic_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def simple_report(metadata: MetaData, event: CustomOperationDocumentEvent, servi
3939
# we need to use a tempfile, because the rest of the filesystem is read-only
4040
with tempfile.NamedTemporaryFile(suffix=".docx", delete=False) as tmp:
4141
temp_file_path = tmp.name
42-
report.save("test.docx")
42+
report.save(temp_file_path)
4343

4444
# check if the document already has a report file, so we can overwrite it
4545
file_name = "myreport.docx"

0 commit comments

Comments
 (0)