mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 14:20:33 +00:00
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.
This commit is contained in:
parent
211ade943a
commit
5729d3dbf8
@ -162,6 +162,7 @@ if __name__ == '__main__':
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user