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

Commit

Permalink
fix ordered dict for python 2 hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Mar 4, 2021
1 parent 9e2875e commit 7756407
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pype/plugins/ftrack/publish/integrate_hierarchy_ftrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ def import_to_ftrack(self, input_data, parent=None):
# attribute value.
# - this is because there may be non hiearchical custom
# attributes with different properties
entity_key = collections.OrderedDict({
"configuration_id": hier_attr["id"],
"entity_id": entity["id"]
})
entity_key = collections.OrderedDict()
entity_key["configuration_id"] = hier_attr["id"]
entity_key["entity_id"] = entity["id"]

self.session.recorded_operations.push(
ftrack_api.operation.UpdateEntityOperation(
"ContextCustomAttributeValue",
Expand Down

0 comments on commit 7756407

Please sign in to comment.