Skip to content

Commit

Permalink
[FIX]isort and flake returned
Browse files Browse the repository at this point in the history
  • Loading branch information
SkiBY committed Oct 16, 2023
1 parent 2deb880 commit 1b5299c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion num2words/lang_BY.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ def to_ordinal(self, number, gender="m"):
if lastword[-1] == "ч":
lastword = lastword + "ны"


elif lastword[-1] == "н" or lastword[-2] == "н":
lastword = lastword[: lastword.rfind("н") + 1] + "ны"
elif lastword[-1] == "д" or lastword[-2] == "д":
Expand Down

0 comments on commit 1b5299c

Please sign in to comment.