mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
fix type comparison
This commit is contained in:
parent
8bdfe806e0
commit
2be5d3b72b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue