Skip to content

Commit 9b4895a

Browse files
committed
[bugfix] Fix Transliterator for Lao char
Change-Id: I0ae7ea4b62a3491ee75c2b2a9e50d2b1ea2e9175
1 parent ab42d28 commit 9b4895a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pywikibot/userinterfaces/transliteration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ def transliterate(self, char: str, default: str = '?',
11481148
result = prev
11491149
# Lao
11501150
elif char == 'ຫ':
1151-
result = '' if next in 'ງຍນຣລຼຼວ' else 'h'
1151+
result = '' if succ in 'ງຍນຣລຼຼວ' else 'h'
11521152
return result
11531153

11541154

0 commit comments

Comments
 (0)