1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-31 19:50:55 +00:00

Allow additional config options for external plugins

This commit is contained in:
Unrud 2017-06-21 09:48:57 +02:00
parent 31377bad40
commit 276de4fd3a
6 changed files with 28 additions and 4 deletions

View file

@ -58,6 +58,8 @@ def run():
kwargs["dest"] = "{0}_{1}".format(section, option)
groups[group].append(kwargs["dest"])
del kwargs["value"]
if "internal" in kwargs:
del kwargs["internal"]
if kwargs["type"] == bool:
del kwargs["type"]