Skip to content

Commit

Permalink
read TextIOWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-lerner committed Jan 18, 2023
1 parent 3417ea9 commit f671e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywordfreq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def lazy_full_frequency(
).open(
'rb',
) as _word_frequencies_binary:
word_frequencies_binary = _word_frequencies_binary
word_frequencies_binary = _word_frequencies_binary.read()
else:
word_frequencies_binary = importlib.resources.read_binary(
package=__package__,
Expand Down

0 comments on commit f671e20

Please sign in to comment.