mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Remove dupplicated line in lang_PT_BR
Remove an unnecessary condition, since the very same action follows it.
This commit is contained in:
@@ -53,8 +53,6 @@ class Num2Word_PT_BR(lang_PT.Num2Word_PT):
|
|||||||
ctext = "cento"
|
ctext = "cento"
|
||||||
|
|
||||||
if nnum < cnum:
|
if nnum < cnum:
|
||||||
if cnum < 100:
|
|
||||||
return ("%s e %s" % (ctext, ntext), cnum + nnum)
|
|
||||||
return ("%s e %s" % (ctext, ntext), cnum + nnum)
|
return ("%s e %s" % (ctext, ntext), cnum + nnum)
|
||||||
|
|
||||||
elif (not nnum % 1000000) and cnum > 1:
|
elif (not nnum % 1000000) and cnum > 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user