mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix sorting
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
df9821f928
commit
a02954d908
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ def get_last_version_from_path(path_dir, filter):
|
|||
filtered_files.append(file)
|
||||
|
||||
if filtered_files:
|
||||
sorted(filtered_files)
|
||||
filtered_files.sort()
|
||||
return filtered_files[-1]
|
||||
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue