1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Fixed creation of a file in the wrong path when customizing the appearance. Typo correction.

This commit is contained in:
Данила Скачедубов 2023-10-16 14:28:23 +04:00 committed by Valery Sinelnikov
parent b84715cfe4
commit debe48c06b
2 changed files with 7 additions and 6 deletions

View File

@ -111,11 +111,12 @@ def create_dict(kde_settings, all_kde_settings, locks_settings, locks_dict, file
data = setting.data
if file_name == 'plasma':
apply_for_widget(section, data, file_cache)
if file_name not in all_kde_settings:
all_kde_settings[file_name] = {}
if section not in all_kde_settings[file_name]:
all_kde_settings[file_name][section] = {}
all_kde_settings[file_name][section][value] = data
else:
if file_name not in all_kde_settings:
all_kde_settings[file_name] = {}
if section not in all_kde_settings[file_name]:
all_kde_settings[file_name][section] = {}
all_kde_settings[file_name][section][value] = data
except Exception as exc:
logdata = dict()

View File

@ -235,7 +235,7 @@ msgid "Error while executing command for widgets"
msgstr "Ошибка при выполнении команды для виджетов"
msgid "Error creating environment variables"
msgstr "Ошибка создания перемеенных среды"
msgstr "Ошибка создания переменных среды"
msgid "Error running kwriteconfig5 command"
msgstr "Ошибка выполнения команды kwriteconfig5"