handle all attribute values in ftrack not just changes

This commit is contained in:
iLLiCiTiT 2021-11-15 11:53:00 +01:00
parent 43fbf2d4da
commit 799394d2af

View file

@ -226,8 +226,8 @@ class FtrackModule(
if not project_name:
return
attributes_changes = changes.get("attributes")
if not attributes_changes:
new_attr_values = new_value.get("attributes")
if not new_attr_values:
return
import ftrack_api
@ -277,7 +277,7 @@ class FtrackModule(
failed = {}
missing = {}
for key, value in attributes_changes.items():
for key, value in new_attr_values.items():
if key not in ca_keys:
continue