[CrashMan] maximum one digit for percentages in filetransfer windows
This commit is contained in:
		
							parent
							
								
									b1136a6959
								
							
						
					
					
						commit
						ac3332be39
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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: | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue