From 5a3f8ef18dd03ee2b6ff6265b96ff85bc25f5007 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Wed, 27 Jan 2010 22:29:28 +0000 Subject: =?UTF-8?q?on=20PEUT=20effacer=20des=20caract=C3=A8res=20:o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/connection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/connection.py') diff --git a/src/connection.py b/src/connection.py index 8185994f..f586eb01 100644 --- a/src/connection.py +++ b/src/connection.py @@ -96,7 +96,9 @@ class Connection(Thread): def process(self, timeout=10): if self.online: - self.client.Process(timeout) + try:self.client.Process(timeout) + except: + pass else: log.warning('disconnecting...') sys.exit() -- cgit v1.2.3