Skip to content
Snippets Groups Projects
Commit 5395bb1c authored by André's avatar André
Browse files

logind_listener: fix TypeError

parent 52482ec7
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment