VirtualMailManager/common.py
changeset 601 463b10c258d9
parent 586 cd1200d06700
child 609 56ec275911f2
--- a/VirtualMailManager/common.py	Tue Aug 28 22:37:43 2012 +0000
+++ b/VirtualMailManager/common.py	Sat Sep 01 23:02:01 2012 +0000
@@ -86,7 +86,7 @@
             # TP: e.g.: '%(size)s %(prefix)s' -> '118.30 MiB'
             return _(u'%(size)s %(prefix)s') % {
                     'size': locale.format('%.2f', float(size) / multiply,
-                                          True),
+                                          True).decode(ENCODING, 'replace'),
                     'prefix': prefix}