jp: fixed sendFile call

This commit is contained in:
Goffi 2013-11-23 13:38:05 +01:00
commit 31f0e3631a

View file

@ -307,11 +307,11 @@ class JP(object):
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):