Skip to content

Commit

Permalink
Update find_replace (#3886)
Browse files Browse the repository at this point in the history
  • Loading branch information
samarth9201 authored Sep 4, 2024
1 parent 5904730 commit d0b9b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/utils/path_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,4 @@ def find_replace(directory: str | Path, find: str, replace: str):
filepath = Path(root, file)
text = filepath.read_text(encoding="utf-8")
text = re.sub(find, replace, text)
filepath.write_text(text)
filepath.write_text(text, encoding="utf-8")

0 comments on commit d0b9b95

Please sign in to comment.