From 2be5d3b72b9b0fac9e97cf581a3bd299fb0f1100 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Fri, 22 Aug 2025 11:46:49 +0200 Subject: [PATCH] fix type comparison --- client/ayon_core/plugins/loader/copy_file.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/ayon_core/plugins/loader/copy_file.py b/client/ayon_core/plugins/loader/copy_file.py index 54e92b0ab9..d8424761e9 100644 --- a/client/ayon_core/plugins/loader/copy_file.py +++ b/client/ayon_core/plugins/loader/copy_file.py @@ -20,12 +20,12 @@ class CopyFileActionPlugin(LoaderActionPlugin): self, selection: LoaderActionSelection ) -> list[LoaderActionItem]: repres = [] - if selection.selected_type in "representations": + if selection.selected_type == "representations": repres = selection.entities.get_representations( selection.selected_ids ) - if selection.selected_type in "version": + if selection.selected_type == "version": repres = selection.entities.get_versions_representations( selection.selected_ids )