VirtualMailManager/common.py
branchv0.6.x
changeset 394 d3a3c6155879
parent 393 fb2ba1456bc5
child 395 0a13849243f2
--- a/VirtualMailManager/common.py	Fri Feb 11 02:11:15 2011 +0000
+++ b/VirtualMailManager/common.py	Fri Feb 11 02:15:51 2011 +0000
@@ -78,7 +78,7 @@
             if unit != 'b':
                 return '%.2f%s' % (size / float(limit), unit)
             else:
-                return '%u%s' % (size / limit, unit)
+                return '%ub' % size
 
 
 def size_in_bytes(size):