mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
AY-745 - added protection for older DL
Some DLs returned `none` for no pools configured.
This commit is contained in:
parent
2ed1d0feee
commit
2dac53a940
1 changed files with 3 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ class ValidateDeadlinePools(OptionalPyblishPluginMixin,
|
|||
pools = DeadlineModule.get_deadline_pools(deadline_url,
|
||||
auth=auth,
|
||||
log=self.log)
|
||||
# some DL return "none" as a pool name
|
||||
if not "none" in pools:
|
||||
pools.append("none")
|
||||
self.log.info("Available pools: {}".format(pools))
|
||||
self.pools_per_url[deadline_url] = pools
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue