From 009f4713686fc413198b5d41ccf89067500b25cf Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Sun, 17 Jul 2005 23:03:40 +0000 Subject: [PATCH] avoid double import of the same module --- src/gajim.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gajim.py b/src/gajim.py index f9ed09dcb..bd7949d3d 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -824,7 +824,8 @@ class Interface: parser.write() def enable_dbus(self): - import remote_control + if remote_control not in globals(): + import remote_control self.remote = remote_control.Remote(self) def disable_dbus(self):