mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-16 03:54:27 +05:00
Revert "fix: update scp submodule so duplicate sections are preserved… (#737)
Revert "fix: update scp submodule so duplicate sections are preserved while editing configs (#735)"
This reverts commit ae0a6b697e.
This commit is contained in:
@@ -48,9 +48,7 @@ def add_config_section(
|
||||
|
||||
if options is not None:
|
||||
for option in reversed(options):
|
||||
opt_name = option[0]
|
||||
opt_value = option[1]
|
||||
scp.set_option(section, opt_name, opt_value)
|
||||
scp.set_option(section, option[0], option[1])
|
||||
|
||||
scp.write_file(cfg_file)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user