Update file_operations.py

This commit is contained in:
Pi
2023-04-16 17:24:18 +01:00
parent 5b428f509b
commit ccf3c7b89e

View File

@@ -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)