This error is already raised in line 223

This commit is contained in:
Israel Teixeira
2021-01-25 22:28:49 -03:00
parent 003800422e
commit 5611325b9d

View File

@@ -227,12 +227,7 @@ class Num2Word_PT(Num2Word_EU):
self.negword = backup_negword
# transforms "milhões euros" em "milhões de euros"
try:
cr1, _ = self.CURRENCY_FORMS[currency]
except KeyError:
raise NotImplementedError(
'Currency code "%s" not implemented for "%s"' %
(currency, self.__class__.__name__))
for ext in (
'milhão', 'milhões', 'bilião',