call str() instead of unicode()

This commit is contained in:
Yann Leboulanger 2016-04-03 14:28:27 +02:00
parent c903b9d5d1
commit b75c1c12aa
1 changed files with 1 additions and 1 deletions

View File

@ -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