Skip to content

Commit

Permalink
minor optimization.
Browse files Browse the repository at this point in the history
  • Loading branch information
rexa222 committed Apr 10, 2023
1 parent b40e471 commit b94f39a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arabic2latin/arabic2latin.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ def arabic_to_latin(text, debug=False):
result += MAPPING[text[c - 1]]

# sokoon:
elif char in "ْ":
elif char == "ْ":
no_vowel = True

elif char in "ـْ":
elif char == "ـْ":
pass

elif debug:
Expand Down

0 comments on commit b94f39a

Please sign in to comment.