mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
🐛 fix validation
This commit is contained in:
parent
b51273af8e
commit
83dfd765e2
1 changed files with 1 additions and 1 deletions
|
|
@ -58,6 +58,6 @@ class Persistent(TraitBase):
|
|||
representation (Representation): Representation model.
|
||||
|
||||
"""
|
||||
if representation.contains_trait(Persistent):
|
||||
if representation.contains_trait(Transient):
|
||||
msg = "Representation is marked as both Persistent and Transient."
|
||||
raise TraitValidationError(self.name, msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue