Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vmsaif authored and bboynton97 committed May 28, 2024
1 parent 3bba04a commit e2dfba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crewai/utilities/fileHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ def __init__(self, file_path):
def log(self, **kwargs):
now = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
message = f"{now}: ".join([f"{key}={value}" for key, value in kwargs.items()])
with open(self._path, "a") as file:
with open(self._path, "a", encoding = 'utf-8') as file:
file.write(message + "\n")

0 comments on commit e2dfba6

Please sign in to comment.