possible fix on disable_dbus

This commit is contained in:
Nikos Kouremenos 2005-07-18 08:31:56 +00:00
parent e814975d6f
commit 740a987004
1 changed files with 1 additions and 1 deletions

View File

@ -829,7 +829,7 @@ class Interface:
self.remote = remote_control.Remote(self)
def disable_dbus(self):
if self.remote: # FIXME: A handler is already registered for the path starting with path[0] = "org"
if hasattr(self, 'remote') and self.remote: # FIXME: A handler is already registered for the path starting with path[0] = "org"
del (self.remote)
self.remote = None