mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Fix is_latest check
This commit is contained in:
parent
0de3d83aa6
commit
ff40ebaf71
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ def is_latest(representation):
|
||||||
"parent": version["parent"]
|
"parent": version["parent"]
|
||||||
}, sort=[("name", -1)])
|
}, sort=[("name", -1)])
|
||||||
|
|
||||||
if version['name'] != highest_version['name']:
|
if version['name'] == highest_version['name']:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue