Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Update file_operations.py

Piccf3c7b89e38
diff --git a/autogpt/commands/file_operations.py b/autogpt/commands/file_operations.py
index 5350d2f47f..31500e8e69 100644
--- a/autogpt/commands/file_operations.py
+++ b/autogpt/commands/file_operations.py
@@ -185,7 +185,7 @@ def append_to_file(filename: str, text: str, shouldLog: bool = True) -> str:
filepath = safe_join(WORKING_DIRECTORY, filename)
with open(filepath, "a") as f:
f.write(text)
-
+
if shouldLog:
log_operation("append", filename)