mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +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
|
@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."""
|
"""Merge given JSON configuration with existing configuration."""
|
||||||
current_configuration = _transmission_config.read_bytes()
|
current_configuration = _transmission_config.read_bytes()
|
||||||
current_configuration = json.loads(current_configuration)
|
current_configuration = json.loads(current_configuration)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user