From 305129589e0c03186a240a3e95730d837f1333be Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 15 Jan 2020 12:13:25 +0000 Subject: [PATCH] malcontent-client: Fix typo in use of flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This doesn’t actually change the behaviour, since the two types are equivalent. Signed-off-by: Philip Withnall --- malcontent-client/malcontent-client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/malcontent-client/malcontent-client.py b/malcontent-client/malcontent-client.py index 69899c6..344d93e 100644 --- a/malcontent-client/malcontent-client.py +++ b/malcontent-client/malcontent-client.py @@ -66,9 +66,9 @@ def __set_app_filter(user_id, app_filter, interactive): If `interactive` is `True`, interactive polkit authorisation dialogues will be allowed. An exception will be raised on failure.""" if interactive: - flags = Malcontent.GetAppFilterFlags.INTERACTIVE + flags = Malcontent.SetAppFilterFlags.INTERACTIVE else: - flags = Malcontent.GetAppFilterFlags.NONE + flags = Malcontent.SetAppFilterFlags.NONE connection = Gio.bus_get_sync(Gio.BusType.SYSTEM) manager = Malcontent.Manager.new(connection)