mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
This error is already raised in line 223
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user