From 082ff2e370ad174c326e0d8417d5dc4928b206ab Mon Sep 17 00:00:00 2001 From: yvesf Date: Wed, 1 Jul 2009 21:25:37 +0000 Subject: icq bot an dranom upda git-svn-id: http://xapek.org/svn/common/omegle@1173 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- proxy.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'proxy.py') diff --git a/proxy.py b/proxy.py index 43e5a24..93e9911 100644 --- a/proxy.py +++ b/proxy.py @@ -73,7 +73,10 @@ class OmegleProxyChat(OmegleChat): def on_disconnect(self): print self.c("%s [EVT] %s disconnect" % (time.strftime("%H:%M:%S"), self.name)) if self.partner.is_confirmed: - self.partner.disconnect() + try: + self.partner.disconnect() + except: + pass self.disconnect_event.set() -- cgit v1.2.1