diff --git a/frontends/src/jp/jp b/frontends/src/jp/jp index 3872aa2e..d5fa0d18 100755 --- a/frontends/src/jp/jp +++ b/frontends/src/jp/jp @@ -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) diff --git a/src/plugins/plugin_xep_0096.py b/src/plugins/plugin_xep_0096.py index 86aa92ba..38d3e592 100755 --- a/src/plugins/plugin_xep_0096.py +++ b/src/plugins/plugin_xep_0096.py @@ -32,7 +32,7 @@ PROFILE_NAME = "file-transfer" PROFILE = "http://jabber.org/protocol/si/profile/" + PROFILE_NAME PLUGIN_INFO = { - "name": "XEP 0096 Plugin", + "name": "XEP-0096 Plugin", "import_name": "XEP-0096", "type": "XEP", "protocols": ["XEP-0096"], @@ -301,4 +301,4 @@ class XEP_0096(object): def sendFailureCb(self, sid, file_obj, stream_method, reason, profile): file_obj.close() - warning(_('Transfer %(id)s failed with stream method %(s_method)s: %(reason)s [%(profile)s') % {'id': sid, "s_method": stream_method, 'reason': reason, 'profile': profile}) + warning(_('Transfer %(id)s failed with stream method %(s_method)s: %(reason)s [%(profile)s]') % {'id': sid, "s_method": stream_method, 'reason': reason, 'profile': profile})