Skip to content

Commit

Permalink
Update file_operations.py
Browse files Browse the repository at this point in the history
  • Loading branch information
p-i- committed Apr 16, 2023
1 parent 5b428f5 commit ccf3c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogpt/commands/file_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ccf3c7b

Please sign in to comment.