print error message instead of raising a TB when Dbus is not present and we try to use gajim-remote. Fixes #2539

This commit is contained in:
Yann Leboulanger 2006-10-10 18:20:09 +00:00
parent 78f27533b6
commit ff8ba1f56e
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ try:
import dbus.service
import dbus.glib
except:
raise exceptions.DbusNotSupported
print str(exceptions.DbusNotSupported())
sys.exit(1)
OBJ_PATH = '/org/gajim/dbus/RemoteObject'
INTERFACE = 'org.gajim.dbus.RemoteInterface'