mirror of
https://github.com/gryf/weechat-highlightxmpp.git
synced 2026-11-25 23:06:54 +01:00
remove trial message, it's unnecessary
This commit is contained in:
1 parent
78a7858be0
commit
38be5cb359
1 file changed
+1
-1
+1
-1
@@ -87,7 +87,7 @@ def send_xmpp(data, signal, msg, trial=1):
|
|||||||
if trial > 3:
|
if trial > 3:
|
||||||
w.prnt('', "Could not send to XMPP server.")
|
w.prnt('', "Could not send to XMPP server.")
|
||||||
else:
|
else:
|
||||||
w.prnt('', "Sending failed. Trying again... (trial %d)" % (trial + 1))
|
w.prnt('', "Sending failed. Trying again...")
|
||||||
sleep(0.5)
|
sleep(0.5)
|
||||||
send_xmpp(data, signal, msg, trial + 1)
|
send_xmpp(data, signal, msg, trial + 1)
|
||||||
return w.WEECHAT_RC_OK
|
return w.WEECHAT_RC_OK
|
||||||
|
|||||||
Reference in new issue
Block a user