From 8db643a918370eec0ef3e2c16b78de42fa9a4999 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: