huwwp / cryptop

command line crypto portfolio
MIT License
235 stars 41 forks source link

what should be the value for [locale] monetary= #62

Open cnukaus opened 1 year ago

cnukaus commented 1 year ago

I can't figure out the correct setting in config.ini:

[locale]
monetary=

But with default config I get

File "/usr/lib/python3.9/locale.py", line 610, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting

or ValueError: Currency formatting is not possible using the 'C' locale.

Tried locale.LC_NUMERIC or locale.localeconv() but could get enough clue.

Thanks!