From 5729d3dbf826466a5d2593feff1372607a32c891 Mon Sep 17 00:00:00 2001 From: Jyrki Vesterinen Date: Fri, 2 Dec 2016 12:26:20 +0200 Subject: [PATCH] Revert "AppVeyor IRC notifications: remove unnecessary delay" This reverts commit 3d2bbf94b1da95e5eed23dbe8a306c554d275a8a. The notifications don't show up without the delay, the connection is closed too early. Thus, I'll just restore the delay. --- utils/appveyor/irc-notify.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/appveyor/irc-notify.py b/utils/appveyor/irc-notify.py index 93e65f625615..8876b102190e 100644 --- a/utils/appveyor/irc-notify.py +++ b/utils/appveyor/irc-notify.py @@ -162,6 +162,7 @@ def appveyor_vars(): for msg in messages: print('PRIVMSG #{} :{}'.format(channel, msg)) irc_sock.send('PRIVMSG #{} :{}\r\n'.format(channel, msg).encode()) + time.sleep(5) # leave the channel irc_sock.send('PART #{}\r\n'.format(channel).encode()) sys.exit()