From 78a7858be0c22e62f39842f3bddb100404c967f7 Mon Sep 17 00:00:00 2001 From: Jacob Peddicord Date: Tue, 6 Apr 2010 12:21:19 -0400 Subject: [PATCH] fix concatenation error --- highlightxmpp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/highlightxmpp.py b/highlightxmpp.py index d3cc09f..2bdddbf 100644 --- a/highlightxmpp.py +++ b/highlightxmpp.py @@ -85,9 +85,9 @@ def send_xmpp(data, signal, msg, trial=1): # fail. catch that here and try to reconnect. isConnected() should # start to realize that once this exception is triggered. if trial > 3: - w.prnt('', "Could send to XMPP server.") + w.prnt('', "Could not send to XMPP server.") else: - w.prnt('', "Lost connection to XMPP server. Trying to send again... (trial %d)" % trial + 1) + w.prnt('', "Sending failed. Trying again... (trial %d)" % (trial + 1)) sleep(0.5) send_xmpp(data, signal, msg, trial + 1) return w.WEECHAT_RC_OK