correctly compute file hash when file is received
This commit is contained in:
		
							parent
							
								
									1211a1bc59
								
							
						
					
					
						commit
						99b27b4484
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -996,7 +996,8 @@ class Interface:
 | 
				
			||||||
                file_props=file_props))
 | 
					                file_props=file_props))
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            ft.set_status(file_props, 'stop')
 | 
					            ft.set_status(file_props, 'stop')
 | 
				
			||||||
        if file_props.stalled or file_props.paused:
 | 
					        if not file_props.completed and (file_props.stalled or \
 | 
				
			||||||
 | 
					        file_props.paused):
 | 
				
			||||||
            return
 | 
					            return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if file_props.type_ == 'r': # we receive a file
 | 
					        if file_props.type_ == 'r': # we receive a file
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue