Skip to content

Commit aa66f24

Browse files
committed
formated file with black
1 parent ab1af0d commit aa66f24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythainlp/util/collate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
def _thkey(word: str) -> str:
1616
cv = _RE_TONE.sub("", word) # remove tone
1717
cv = _RE_LV_C.sub("\\2\\1", cv) # switch lead vowel
18-
18+
1919
tone_match = _RE_TONE.search(word)
20-
tone = tone_match.group() if tone_match else ""
20+
tone = tone_match.group() if tone_match else ""
2121
return cv + tone
2222

2323

0 commit comments

Comments
 (0)