[FIX] Improved Previous bad commit for pagelayout error

bzr revid: jvo@tinyerp.com-20091008053344-rkh1m6oaxw2kjlwd
This commit is contained in:
Jay (Open ERP) 2009-10-08 11:03:44 +05:30
parent 3c28a101b9
commit bebd7fd223
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ def unit_get(size):
if size.find('.') == -1:
decimal_point = '.'
try:
decimal_point = locale.RADIXCHAR
decimal_point = locale.nl_langinfo(locale.RADIXCHAR)
except:
decimal_point = locale.localeconv()['decimal_point']