Skip to content
Snippets Groups Projects
Commit fb552abd authored by Peter Tasker's avatar Peter Tasker
Browse files

Update letters.py

parent a0e846d4
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ def file2pairs(filename):
letter_dict = { c: { a: 0 for a in letters }
for c in letters }
previous = None
with open(filename, encdoing="utf-8") as fp:
with open(filename, encoding="utf-8") as fp:
for c in fp.read():
if c not in letter_dict:
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment