We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
return something in the supported language: "am"
Traceback (most recent call last): File "/Users/xdownedx/docxGENERATE/docxGen/app.py", line 6, in <module> print(num2words(amount, lang='am')) File "/Users/xdownedx/docxGENERATE/docxGen/.venv/lib/python3.10/site-packages/num2words/__init__.py", line 104, in num2words return getattr(converter, 'to_{}'.format(to))(number, **kwargs) File "/Users/xdownedx/docxGENERATE/docxGen/.venv/lib/python3.10/site-packages/num2words/lang_AM.py", line 87, in to_cardinal words, num = self.clean(val) TypeError: cannot unpack non-iterable NoneType object
from num2words import num2words amount = 1210 print(num2words(amount, lang='am'))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behaviour
return something in the supported language: "am"
Actual Behaviour
Traceback (most recent call last): File "/Users/xdownedx/docxGENERATE/docxGen/app.py", line 6, in <module> print(num2words(amount, lang='am')) File "/Users/xdownedx/docxGENERATE/docxGen/.venv/lib/python3.10/site-packages/num2words/__init__.py", line 104, in num2words return getattr(converter, 'to_{}'.format(to))(number, **kwargs) File "/Users/xdownedx/docxGENERATE/docxGen/.venv/lib/python3.10/site-packages/num2words/lang_AM.py", line 87, in to_cardinal words, num = self.clean(val) TypeError: cannot unpack non-iterable NoneType object
Steps to reproduce
The text was updated successfully, but these errors were encountered: