From d53e9e482dd0641aef5245326caba904579b9ab6 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Wed, 17 Aug 2011 23:55:49 -0500 Subject: [PATCH] os._exit takes one argument --- oyoyo/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oyoyo/client.py b/oyoyo/client.py index 7d51a20..f0370ca 100644 --- a/oyoyo/client.py +++ b/oyoyo/client.py @@ -229,7 +229,7 @@ class IRCClient(object): logging.info('closing socket') self.socket.close() import os - os._exit() + os._exit(0) def msg(self, user, msg): for line in msg.split('\n'): maxchars = 494 - len(self.nickname+self.ident+self.hostmask+user)