[FIX] Improved Previous bad commit for pagelayout error
authorJay (Open ERP) <jvo@tinyerp.com>
Thu, 8 Oct 2009 05:33:44 +0000 (11:03 +0530)
committerJay (Open ERP) <jvo@tinyerp.com>
Thu, 8 Oct 2009 05:33:44 +0000 (11:03 +0530)
bzr revid: jvo@tinyerp.com-20091008053344-rkh1m6oaxw2kjlwd

bin/report/render/rml2pdf/utils.py

index 8e747f5..07bbbbc 100644 (file)
@@ -137,7 +137,7 @@ def unit_get(size):
         if size.find('.') == -1:
             decimal_point = '.'
             try:
         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']
 
             except:
                 decimal_point = locale.localeconv()['decimal_point']