logind_listener: fix TypeError

This commit is contained in:
André Apitzsch 2018-01-19 00:20:47 +01:00
parent 52482ec70d
commit 5395bb1c79
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ def get_inhibitor(connection):
GLib.VariantType.new('(h)'),
Gio.DBusCallFlags.NONE, -1, None, None)
fd = ret.out_fd_list.get(ret[0])
fd = ret.out_fd_list.get(0)
def appeared(connection, name, name_owner, *user_data):