Skip to content

Commit

Permalink
feat: add vault automation chains
Browse files Browse the repository at this point in the history
  • Loading branch information
sumukshashidhar committed Apr 1, 2024
1 parent 28a2cd2 commit 5a21387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ def get_file(self) -> str:
"""
Read all the contents of the file and return it as a string
"""
with open(self.path, "r") as file:
with open(self.path, "r", encoding = 'latin-1') as file:
return file.read()

def write_file(self, content: str) -> None:
"""
Write the content to the file
"""
with open(self.path, "w") as file:
with open(self.path, "w", encoding = 'latin-1') as file:
file.write(content)


Expand Down

0 comments on commit 5a21387

Please sign in to comment.