mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
use group exclusively except for config
This commit is contained in:
parent
11710f75a8
commit
ca2d519345
1 changed files with 0 additions and 9 deletions
|
@ -112,15 +112,6 @@ def run():
|
|||
configuration = config.load(configuration_paths)
|
||||
configuration_found = True
|
||||
|
||||
# Update Radicale configuration according to options
|
||||
for option in parser.option_list:
|
||||
key = option.dest
|
||||
if key:
|
||||
section = option.dest.split('_')[0]
|
||||
value = getattr(options, key)
|
||||
if value is not None:
|
||||
configuration.set(section, key, str(value))
|
||||
|
||||
for group in parser.option_groups:
|
||||
section = group.title
|
||||
for option in group.option_list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue