[CrashMan] maximum one digit for percentages in filetransfer windows

This commit is contained in:
Yann Leboulanger 2007-08-26 14:44:03 +00:00
parent b1136a6959
commit ac3332be39
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ _('Connection with peer cannot be established.'))
if full_size == 0:
percent = 0
else:
percent = round(float(transfered_size) / full_size * 100)
percent = round(float(transfered_size) / full_size * 100, 1)
if iter is None:
iter = self.get_iter_by_sid(typ, sid)
if iter is not None: