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)