From c9831d816c3e140f2dd0a9585b322703696107c8 Mon Sep 17 00:00:00 2001 From: George Antonopoulos <125903264+georgeantonopoulos-bcnvisuals@users.noreply.github.com> Date: Thu, 9 Jan 2025 10:16:09 +0000 Subject: [PATCH] Update client/ayon_openrv/plugins/load/openrv/load_frames.py Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> --- client/ayon_openrv/plugins/load/openrv/load_frames.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/ayon_openrv/plugins/load/openrv/load_frames.py b/client/ayon_openrv/plugins/load/openrv/load_frames.py index 069a656..5c2fa85 100644 --- a/client/ayon_openrv/plugins/load/openrv/load_frames.py +++ b/client/ayon_openrv/plugins/load/openrv/load_frames.py @@ -113,10 +113,9 @@ def _get_sequence_range(self, context): frame_start = None frame_end = None - if version: - version_attribs = version["attrib"] - frame_start = version_attribs.get("frameStart") - frame_end = version_attribs.get("frameEnd") + version_attribs = version_entity["attrib"] + frame_start = version_attribs.get("frameStart") + frame_end = version_attribs.get("frameEnd") # If not in version attributes, check representation attributes if frame_start is None or frame_end is None: