* Desert comes always last. No, I am not touching those.

This commit is contained in:
Faik Uygur
2006-10-23 18:30:04 +00:00
parent a4074c8db4
commit 85bb56de5d
+2 -2
View File
@@ -28,7 +28,7 @@ class UI(object):
self.totalsize = totalsize
try:
self.percent = (existsize * 100) / totalsize
except:
except ArithmeticError:
self.percent = 0
def update(self, size):
@@ -36,7 +36,7 @@ class UI(object):
return 100
try:
self.percent = (size * 100) / self.totalsize
except:
except ArithmeticError:
self.percent = 0
return self.percent