Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
Possible fix to issue referenced in PR #28
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRx committed Mar 14, 2017
1 parent 9c797cb commit 31691a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions giraffez/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def readline(self):
return next(self.fd)

@classmethod
def read_all(cls, path):
with cls(path, "rb") as f:
def read_all(cls, path, mode='rt'):
with cls(path, mode) as f:
return f.read()

@classmethod
Expand Down

0 comments on commit 31691a6

Please sign in to comment.