mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
Simplify assertion for AVALON_DEADLINE value, it must at least have a value
This commit is contained in:
parent
ffbf25f4c0
commit
66dba81efd
1 changed files with 1 additions and 2 deletions
|
|
@ -77,8 +77,7 @@ class MayaSubmitDeadline(pyblish.api.InstancePlugin):
|
|||
|
||||
AVALON_DEADLINE = api.Session.get("AVALON_DEADLINE",
|
||||
"http://localhost:8082")
|
||||
|
||||
assert AVALON_DEADLINE is not None, "Requires AVALON_DEADLINE"
|
||||
assert AVALON_DEADLINE, "Requires AVALON_DEADLINE"
|
||||
|
||||
context = instance.context
|
||||
workspace = context.data["workspaceDir"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue