From 6a0599500e67cdd45d93b75c4127702330bc5d51 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 10 Dec 2005 12:28:56 +0000 Subject: [PATCH] catch all exceptions when we try to import remote_control: under win we have: NameError: name 'DbusPrototype' is not defined --- src/gajim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gajim.py b/src/gajim.py index a87626c57..5aceeed7f 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1339,7 +1339,7 @@ class Interface: try: import remote_control self.remote_ctrl = remote_control.Remote() - except (exceptions.DbusNotSupported, exceptions.SessionBusNotPresent): + except: self.remote_ctrl = None else: self.remote_ctrl = None