From 5395bb1c79b47c5e3f69274616de634f15ccdeda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Fri, 19 Jan 2018 00:20:47 +0100 Subject: [PATCH] logind_listener: fix TypeError --- gajim/logind_listener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/logind_listener.py b/gajim/logind_listener.py index 41bd5e859..8612cbdba 100644 --- a/gajim/logind_listener.py +++ b/gajim/logind_listener.py @@ -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):