jp: removed named argument for pipeOut, as it's not managed with dynamicaly added methods

This commit is contained in:
Goffi 2013-11-26 18:30:35 +01:00
commit 9fdc271294

View file

@ -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)