Skip to content

Commit 57948ec

Browse files
committed
🎨 specify encoding explicitly
1 parent 4cc06c0 commit 57948ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vuegen/streamlit_reportview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def _generate_home_section(
429429

430430
# Write the home page content to a Python file
431431
home_page_path = Path(home_dir_path) / "Homepage.py"
432-
with open(home_page_path, "w") as home_page:
432+
with open(home_page_path, "w", encoding="utf-8") as home_page:
433433
home_page.write("\n".join(home_content))
434434
self.report.logger.info(f"Home page content written to '{home_page_path}'.")
435435

0 commit comments

Comments
 (0)