diff --git a/src/wcgw/client/tools.py b/src/wcgw/client/tools.py index 9e34fdb..6b4339a 100644 --- a/src/wcgw/client/tools.py +++ b/src/wcgw/client/tools.py @@ -510,7 +510,7 @@ def file_edit(fedit: FileEditFindReplace) -> str: with open(path_) as f: content = f.read() - edit_content = edit_content(content, fedit.find_lines, fedit.replace_with_lines) + content = edit_content(content, fedit.find_lines, fedit.replace_with_lines) with open(path_, "w") as f: f.write(content)