Skip to content

Commit

Permalink
Read the config file contents as bytes, it's just for debugging anyway.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 23, 2020
1 parent f0d3921 commit 0b7ea3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coverage/config.py
Expand Up @@ -325,7 +325,7 @@ def from_file(self, filename, our_file):

if used:
self.config_file = os.path.abspath(filename)
with open(filename) as f:
with open(filename, "rb") as f:
self._config_contents = f.read()

return used
Expand Down

0 comments on commit 0b7ea3a

Please sign in to comment.