[paladine] make D-Bus version check less strict
This commit is contained in:
parent
fdac5a4387
commit
73bd65013f
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ Please specify account for sending the message.') % sys.argv[2])
|
||||||
except:
|
except:
|
||||||
send_error(_('Session bus is not available.'))
|
send_error(_('Session bus is not available.'))
|
||||||
|
|
||||||
if _version[1] >= 30 and _version[1] <= 42:
|
if _version[1] >= 30:
|
||||||
obj = self.sbus.get_object(SERVICE, OBJ_PATH)
|
obj = self.sbus.get_object(SERVICE, OBJ_PATH)
|
||||||
interface = dbus.Interface(obj, INTERFACE)
|
interface = dbus.Interface(obj, INTERFACE)
|
||||||
elif _version[1] < 30:
|
elif _version[1] < 30:
|
||||||
|
|
Loading…
Add table
Reference in a new issue