Skip to content

Commit

Permalink
Merge pull request #71 from Prabu-7/patch-1
Browse files Browse the repository at this point in the history
Update lib.py for sorting deadline values
  • Loading branch information
kalisp authored Dec 9, 2024
2 parents bf495e3 + bd2a51e commit d7fd9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ayon_deadline/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def _get_deadline_info(
log.warning(f"No {item_type} retrieved")
return []

return response.json()
return sorted(response.json(), key=lambda value: (value != "none", value))


class DeadlineWebserviceError(Exception):
Expand Down

0 comments on commit d7fd9d4

Please sign in to comment.