jp: removed named argument for pipeOut, as it's not managed with dynamicaly added methods
This commit is contained in:
parent
31f0e3631a
commit
9fdc271294
1 changed files with 3 additions and 3 deletions
|
|
@ -273,7 +273,7 @@ class JP(object):
|
|||
tmp_dir = tempfile.mkdtemp()
|
||||
fifopath = os.path.join(tmp_dir,"pipe_out")
|
||||
os.mkfifo(fifopath)
|
||||
self.bridge.pipeOut(self._getFullJid(self.dest_jid), fifopath, {}, profile_key=self.profile)
|
||||
self.bridge.pipeOut(self._getFullJid(self.dest_jid), fifopath, {}, self.profile)
|
||||
with open(fifopath, 'w') as f:
|
||||
shutil.copyfileobj(sys.stdin, f)
|
||||
shutil.rmtree(tmp_dir)
|
||||
|
|
|
|||
Loading…
Reference in a new issue