diff options
Diffstat (limited to 'proxy.py')
-rw-r--r-- | proxy.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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() |