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:
parent
78f27533b6
commit
ff8ba1f56e
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue