Skip to content

Commit

Permalink
Use tuple instead of list oops
Browse files Browse the repository at this point in the history
  • Loading branch information
sammdot committed Jan 2, 2021
1 parent b7f1cf0 commit cf7dbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion better_rtf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _longest_key(self):
@property
def _dict(self):
return {
stroke.split(STROKE_DELIMITER): translation
tuple(stroke.split(STROKE_DELIMITER)): translation
for (stroke, translation) in self._rtf_dict.stroke_to_translation.items()
}

Expand Down

0 comments on commit cf7dbb0

Please sign in to comment.