🐛 fix(utils.py): change file mode from "rb" to "r" when reading secret from file to fix incorrect file mode
This commit is contained in:
parent
9eca124b17
commit
942c489552
1 changed files with 1 additions and 1 deletions
|
|
@ -43,5 +43,5 @@ def write_secret_to_file(path: Path, value: str) -> None:
|
|||
|
||||
|
||||
def read_secret_from_file(path: Path) -> str:
|
||||
with path.open("rb") as f:
|
||||
with path.open("r") as f:
|
||||
return f.read()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue