mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-01-10 17:17:37 +03:00
Fixed creation of a section with symbols )(
This commit is contained in:
parent
abad246ab2
commit
b84715cfe4
@ -135,6 +135,7 @@ def apply(all_kde_settings, locks_dict, username = None):
|
||||
os.remove(file_path)
|
||||
with open(file_path, 'w') as file:
|
||||
for section, keys in sections.items():
|
||||
section = section.replace(')(', '][')
|
||||
file.write(f'[{section}]\n')
|
||||
for key, value in keys.items():
|
||||
lock = f"{file_name}.{section}.{key}"
|
||||
|
Loading…
Reference in New Issue
Block a user