From b29182a0ebfe956f962198a0724f95caa61540c6 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 16 Sep 2022 10:50:21 -0700 Subject: [PATCH] config: Minor update to privileged method signature Tests: - Setting logging method works. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/config/privileged.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/config/privileged.py b/plinth/modules/config/privileged.py index 264f668ae..6316e75ac 100644 --- a/plinth/modules/config/privileged.py +++ b/plinth/modules/config/privileged.py @@ -34,7 +34,7 @@ def get_logging_mode() -> str: @privileged -def set_logging_mode(mode: str) -> None: +def set_logging_mode(mode: str): """Set the current logging mode.""" if mode not in ('volatile', 'persistent', 'none'): raise ValueError('Invalid mode')