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:
Sunil Mohan Adapa 2022-09-16 10:52:02 -07:00 committed by James Valleroy
parent a78480c033
commit 623bcefe22
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -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)