Skip to content

Commit

Permalink
Merge pull request #6 from LoicGrobol/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing authored Dec 4, 2024
2 parents b0b5e25 + 0123795 commit aa8eb5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textract/parsers/txt_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ class Parser(BaseParser):
"""Parse ``.txt`` files"""

def extract(self, filename, **kwargs):
with open(filename) as stream:
with open(filename, "rb") as stream:
return stream.read()

0 comments on commit aa8eb5b

Please sign in to comment.