use 'roots' instead of 'roots_obj'

This commit is contained in:
Jakub Trllo 2022-03-17 17:59:56 +01:00
parent 8589769863
commit 16f4ada2ad

View file

@ -502,7 +502,7 @@ def get_representation_path_from_context(context):
session_project = Session.get("AVALON_PROJECT")
if project_doc and project_doc["name"] != session_project:
anatomy = Anatomy(project_doc["name"])
root = anatomy.roots_obj
root = anatomy.roots
return get_representation_path(representation, root)