Skip to content

Commit 6695805

Browse files
committed
translation: minor cleanup
1 parent 02efbf4 commit 6695805

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plover/translation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ def _find_longest_match(self, min_len, max_len, stroke, suffixes=()):
379379
t = Translation(strokes, mapping)
380380
t.replaced = replaced
381381
return t
382+
return None
382383

383384
def _lookup_strokes(self, strokes):
384385
'''Look for a matching translation.

0 commit comments

Comments
 (0)