Skip to content

Commit

Permalink
Fix #391
Browse files Browse the repository at this point in the history
  • Loading branch information
reinout committed Jul 13, 2023
1 parent 91839c1 commit 66f1114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zest/releaser/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def read_text_file(filename, encoding=None, fallback_encoding=None):
logger.debug(
"Decoding file %s from encoding %s from argument.", filename, encoding
)
with open(filename, "rb", encoding=encoding) as filehandler:
with open(filename, "r", encoding=encoding) as filehandler:
data = filehandler.read()
return splitlines_with_trailing(data), encoding

Expand Down

0 comments on commit 66f1114

Please sign in to comment.