mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
raise KeyError exception not just create
This commit is contained in:
parent
227755669f
commit
8a8aa0422d
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ def convert_gui_data_to_overrides(data, first=True):
|
|||
if key == "groups":
|
||||
output[OVERRIDEN_KEY] = value
|
||||
else:
|
||||
KeyError("Unknown metadata key \"{}\"".format(key))
|
||||
raise KeyError("Unknown metadata key \"{}\"".format(key))
|
||||
|
||||
for key, value in data.items():
|
||||
output[key] = convert_gui_data_to_overrides(value, False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue