Mercurial > libervia-desktop-kivy
diff cagou/plugins/plugin_wid_file_sharing.py @ 328:dddea9684a8e
plugin file sharing: convert `dest_path` to string when sending to bridge:
this is needed now that Path is used in files_utils.get_unique_name
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 20 Dec 2019 12:29:37 +0100 |
parents | 772c170b47a9 |
children | 4d660b252487 |
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_file_sharing.py Wed Dec 11 18:26:42 2019 +0100 +++ b/cagou/plugins/plugin_wid_file_sharing.py Fri Dec 20 12:29:37 2019 +0100 @@ -389,7 +389,7 @@ extra = {'path': path} dest_path = files_utils.get_unique_name(os.path.join(G.host.downloads_dir, name)) G.host.bridge.fileJingleRequest(str(self.remote_entity), - dest_path, + str(dest_path), name, '', '',