also needed

This commit is contained in:
Faik Uygur
2009-03-30 12:22:00 +00:00
parent c2f06635ed
commit 30ee898d79
+1 -1
View File
@@ -105,7 +105,7 @@ def remove_prefix(a,b):
def human_readable_size(size = 0):
symbols, depth = [' B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], 0
while size > 1000 and depth < 3:
while size > 1000 and depth < 8:
size = float(size / 1024)
depth += 1