From 1f6ac0a7e33fd29a9f659d58f12604092fb0ee8c Mon Sep 17 00:00:00 2001 From: Israel Teixeira Date: Tue, 22 Dec 2020 07:43:10 -0300 Subject: [PATCH] Remove dupplicated line in lang_PT_BR Remove an unnecessary condition, since the very same action follows it. --- num2words/lang_PT_BR.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/num2words/lang_PT_BR.py b/num2words/lang_PT_BR.py index 4c73cac..80eb5e7 100644 --- a/num2words/lang_PT_BR.py +++ b/num2words/lang_PT_BR.py @@ -53,8 +53,6 @@ class Num2Word_PT_BR(lang_PT.Num2Word_PT): ctext = "cento" if nnum < cnum: - if cnum < 100: - return ("%s e %s" % (ctext, ntext), cnum + nnum) return ("%s e %s" % (ctext, ntext), cnum + nnum) elif (not nnum % 1000000) and cnum > 1: