mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
transmission: Minor update to privileged method signature
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
a78480c033
commit
623bcefe22
@ -20,7 +20,7 @@ def get_configuration() -> dict[str, str]:
|
||||
|
||||
|
||||
@privileged
|
||||
def merge_configuration(configuration: dict[str, Union[str, bool]]) -> None:
|
||||
def merge_configuration(configuration: dict[str, Union[str, bool]]):
|
||||
"""Merge given JSON configuration with existing configuration."""
|
||||
current_configuration = _transmission_config.read_bytes()
|
||||
current_configuration = json.loads(current_configuration)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user