diff options
Diffstat (limited to 'src/telepathy_plugin.py')
-rw-r--r-- | src/telepathy_plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/telepathy_plugin.py b/src/telepathy_plugin.py index 7b6d615..8baf3d1 100644 --- a/src/telepathy_plugin.py +++ b/src/telepathy_plugin.py @@ -20,6 +20,7 @@ import logging from itertools import izip +from dbus import DBusException import gobject from telepathy.client import (Channel, Connection) @@ -276,7 +277,7 @@ class TelepathyPlugin(gobject.GObject): if self._conn: try: self._conn[CONN_INTERFACE].Disconnect() - except dbus.DBusException, e: + except DBusException, e: _logger.debug('%s Disconnect(): %s', self._conn.object_path, e) self._conn_status = CONNECTION_STATUS_DISCONNECTED |