Mercurial > mamba
changeset 569:c296d10bd5f9
Fix call to socket.connect.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Tue, 20 Nov 2012 23:38:53 +0200 |
parents | 7eb5ecda4667 |
children | 1b720cf4d730 |
files | mamba/forest.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mamba/forest.py Tue Nov 20 23:18:46 2012 +0200 +++ b/mamba/forest.py Tue Nov 20 23:38:53 2012 +0200 @@ -140,7 +140,7 @@ message = json.dumps({"to": irker.channels, "privmsg": privmsg}) try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - sock.connect(irker.host, irker.port) + sock.connect((irker.host, irker.port)) sock.sendall(message + "\n") finally: sock.close()