mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 14:34:23 +01:00
Update file_operations.py
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user