jp: fixed sendFile call
This commit is contained in:
parent
d7d411d6ef
commit
31f0e3631a
1 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue