Skip to content

Commit

Permalink
Tiny fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hvass-Labs committed Jan 12, 2019
1 parent 4852585 commit ddb0ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _read_text_file(path):
It is returned as a single string where all lines are concatenated.
"""

with open(path, 'rt') as file:
with open(path, 'rt', encoding='utf-8') as file:
# Read a list of strings.
lines = file.readlines()

Expand Down

0 comments on commit ddb0ab3

Please sign in to comment.