From 15a3f9d29aeea40419ece93b51925f3f38fd9066 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Thu, 28 Aug 2025 12:12:32 +0200 Subject: [PATCH] fix 'representations' -> 'representation' --- client/ayon_core/plugins/loader/copy_file.py | 2 +- client/ayon_core/plugins/loader/delivery.py | 2 +- client/ayon_core/plugins/loader/open_file.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/ayon_core/plugins/loader/copy_file.py b/client/ayon_core/plugins/loader/copy_file.py index 716b4ab88f..09875698bd 100644 --- a/client/ayon_core/plugins/loader/copy_file.py +++ b/client/ayon_core/plugins/loader/copy_file.py @@ -20,7 +20,7 @@ class CopyFileActionPlugin(LoaderActionPlugin): self, selection: LoaderActionSelection ) -> list[LoaderActionItem]: repres = [] - if selection.selected_type == "representations": + if selection.selected_type == "representation": repres = selection.entities.get_representations( selection.selected_ids ) diff --git a/client/ayon_core/plugins/loader/delivery.py b/client/ayon_core/plugins/loader/delivery.py index fb668e5b10..3b39f2d3f6 100644 --- a/client/ayon_core/plugins/loader/delivery.py +++ b/client/ayon_core/plugins/loader/delivery.py @@ -37,7 +37,7 @@ class DeliveryAction(LoaderActionPlugin): return [] version_ids = set() - if selection.selected_type == "representations": + if selection.selected_type == "representation": versions = selection.entities.get_representations_versions( selection.selected_ids ) diff --git a/client/ayon_core/plugins/loader/open_file.py b/client/ayon_core/plugins/loader/open_file.py index a46bb31472..f7a7167c9a 100644 --- a/client/ayon_core/plugins/loader/open_file.py +++ b/client/ayon_core/plugins/loader/open_file.py @@ -33,7 +33,7 @@ class OpenFileAction(LoaderActionPlugin): self, selection: LoaderActionSelection ) -> list[LoaderActionItem]: repres = [] - if selection.selected_type == "representations": + if selection.selected_type == "representation": repres = selection.entities.get_representations( selection.selected_ids )