mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
variable POP_KEY renamed to M_POP_KEY
This commit is contained in:
parent
9afcdd3546
commit
4903c09f40
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ log = logging.getLogger(__name__)
|
|||
# Metadata keys for work with studio and project overrides
|
||||
M_OVERRIDEN_KEY = "__overriden_keys__"
|
||||
# NOTE key popping not implemented yet
|
||||
POP_KEY = "__pop_key__"
|
||||
M_POP_KEY = "__pop_key__"
|
||||
|
||||
# Folder where studio overrides are stored
|
||||
STUDIO_OVERRIDES_PATH = os.environ["PYPE_PROJECT_CONFIGS"]
|
||||
|
|
@ -229,7 +229,7 @@ def merge_overrides(global_dict, override_dict):
|
|||
overriden_keys = set()
|
||||
|
||||
for key, value in override_dict.items():
|
||||
if value == POP_KEY:
|
||||
if value == M_POP_KEY:
|
||||
global_dict.pop(key)
|
||||
|
||||
elif (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue