Once again

>>> import locale
>>> locale.getlocale()
(None, None)
>>> locale.setlocale(locale.LC_ALL, '')
'pl_PL.UTF-8'
>>> locale.localeconv()['decimal_point']
','
>>> locale.atof("100,1")
100.09999999999999

So after setting the locale it worked.

-- 
jamu.py crashed in Program._init_() from MythTV.py
https://bugs.launchpad.net/bugs/452790
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to