Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

List append fix in mutable dict settings #1599

Merged
merged 1 commit into from
May 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions openpype/settings/entities/dict_mutable_keys_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,10 @@ def set_override_state(self, state):
new_initial_value = []
for key, value in _settings_value:
if key in initial_value:
new_initial_value.append(key, initial_value.pop(key))
new_initial_value.append([key, initial_value.pop(key)])

for key, value in initial_value.items():
new_initial_value.append(key, value)
new_initial_value.append([key, value])
initial_value = new_initial_value
else:
initial_value = _settings_value
Expand Down