# HG changeset patch # User Goffi # Date 1527242128 -7200 # Node ID e20796eea8736593c80721fc2e68d58d7559a100 # Parent 45a3392b9d264be2739c4a97565556e80e1acf13 plugin file sharing: transtype jid.Jid instance to unicode when using bridge, to avoid troubles with pb diff -r 45a3392b9d26 -r e20796eea873 cagou/plugins/plugin_wid_file_sharing.py --- a/cagou/plugins/plugin_wid_file_sharing.py Fri May 25 11:52:56 2018 +0200 +++ b/cagou/plugins/plugin_wid_file_sharing.py Fri May 25 11:55:28 2018 +0200 @@ -366,7 +366,7 @@ type_ = C.FILE_TYPE_DIRECTORY) self.layout.add_widget(item) self.host.bridge.FISList( - self.remote_entity, + unicode(self.remote_entity), self.remote_dir, {}, self.profile, @@ -464,7 +464,7 @@ assert self.remote_entity extra = {'path': path} dest_path = files_utils.get_unique_name(os.path.join(G.host.downloads_dir, name)) - G.host.bridge.fileJingleRequest(self.remote_entity, + G.host.bridge.fileJingleRequest(unicode(self.remote_entity), dest_path, name, u'',