malcontent-client: Fix typo in use of flags
This doesn’t actually change the behaviour, since the two types are equivalent. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
983e3bfa39
commit
305129589e
|
@ -66,9 +66,9 @@ def __set_app_filter(user_id, app_filter, interactive):
|
||||||
If `interactive` is `True`, interactive polkit authorisation dialogues will
|
If `interactive` is `True`, interactive polkit authorisation dialogues will
|
||||||
be allowed. An exception will be raised on failure."""
|
be allowed. An exception will be raised on failure."""
|
||||||
if interactive:
|
if interactive:
|
||||||
flags = Malcontent.GetAppFilterFlags.INTERACTIVE
|
flags = Malcontent.SetAppFilterFlags.INTERACTIVE
|
||||||
else:
|
else:
|
||||||
flags = Malcontent.GetAppFilterFlags.NONE
|
flags = Malcontent.SetAppFilterFlags.NONE
|
||||||
|
|
||||||
connection = Gio.bus_get_sync(Gio.BusType.SYSTEM)
|
connection = Gio.bus_get_sync(Gio.BusType.SYSTEM)
|
||||||
manager = Malcontent.Manager.new(connection)
|
manager = Malcontent.Manager.new(connection)
|
||||||
|
|
Loading…
Reference in New Issue