Skip to content

Commit

Permalink
The transliterator now works properly
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueNexus authored and comma committed Apr 23, 2018
1 parent 4a6b1c3 commit 7d67a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/languageconverter/transliterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def convert(mes):
result = ""
counter = 0
for char in mes:
if(char == 'd' and mes[counter + 1] == 'ʒ'):
if(len(mes) > counter + 1 and char == 'd' and mes[counter + 1] == 'ʒ'):
result += 'N'
else:
result += pholet[char] if char in pholet else ''
Expand Down

0 comments on commit 7d67a9a

Please sign in to comment.