changeset 720:3954cb4d96a7

jp: fixed sendFile call
author Goffi <goffi@goffi.org>
date Sat, 23 Nov 2013 13:38:05 +0100
parents 56aa0e98c92e
children 0077912bc9ba
files frontends/src/jp/jp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/jp	Thu Nov 21 18:57:10 2013 +0100
+++ b/frontends/src/jp/jp	Sat Nov 23 13:38:05 2013 +0100
@@ -307,11 +307,11 @@
             bz2.close()
             info(_("OK !"))
             path = abspath(tmpfile)
-            self.transfer_data = self.bridge.sendFile(full_dest_jid, path, {}, profile_key=self.profile)
+            self.transfer_data = self.bridge.sendFile(full_dest_jid, path, {}, self.profile)
         else:
             for file in self.files:
                 path = abspath(file)
-                self.transfer_data = self.bridge.sendFile(full_dest_jid, path, {}, profile_key=self.profile) #FIXME: show progress only for last transfer_id
+                self.transfer_data = self.bridge.sendFile(full_dest_jid, path, {}, self.profile) #FIXME: show progress only for last transfer_id
 
 
     def _getFullJid(self, param_jid):