call str() instead of unicode()
This commit is contained in:
		
							parent
							
								
									c903b9d5d1
								
							
						
					
					
						commit
						b75c1c12aa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2319,7 +2319,7 @@ class FileTransferCompletedEvent(nec.NetworkIncomingEvent):
 | 
			
		|||
    base_network_events = []
 | 
			
		||||
 | 
			
		||||
    def generate(self):
 | 
			
		||||
        jid = unicode(self.file_props.receiver)
 | 
			
		||||
        jid = str(self.file_props.receiver)
 | 
			
		||||
        self.jid = gajim.get_jid_without_resource(jid)
 | 
			
		||||
        return True
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue