mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
roundcube: Minor update to comment in privileged actions
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
89a4d25909
commit
8db063b59b
@ -35,7 +35,7 @@ def setup():
|
|||||||
|
|
||||||
@privileged
|
@privileged
|
||||||
def get_config() -> dict[str, bool]:
|
def get_config() -> dict[str, bool]:
|
||||||
"""Print the current configuration as JSON."""
|
"""Return the current configuration as a dictionary."""
|
||||||
pattern = r'\s*\$config\[\s*\'([^\']*)\'\s*\]\s*=\s*\'([^\']*)\'\s*;'
|
pattern = r'\s*\$config\[\s*\'([^\']*)\'\s*\]\s*=\s*\'([^\']*)\'\s*;'
|
||||||
_config = {}
|
_config = {}
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user