fixed bug in representation reqeust

This commit is contained in:
aardschok 2017-10-23 11:15:59 +02:00
parent cb4e0323ef
commit 7197049643

View file

@ -797,8 +797,8 @@ def assign_look_by_version(nodes, version_id):
"name": "json"})
# Load file
shader_filepath = api.get_representation_path(shader_file["_id"])
shader_relation = api.get_representation_path(shader_relations["_id"])
shader_filepath = api.get_representation_path(shader_file)
shader_relation = api.get_representation_path(shader_relations)
reference_node = get_reference_node(shader_filepath)
if reference_node is None: