Added check if the response actually got data to ensure there is a Deadline job to retrieve information from.
Nicer to get an error message in stead of list index out of range.
Added api.Session.get("AVALON_DEADLINE", None)` to counter Key Error from dictionary, assertion will never be evaluated when the key is not available.
Added check if the
response
actually got data to ensure there is a Deadline job to retrieve information from. Nicer to get an error message in stead oflist index out of range
.Added api.Session.get("AVALON_DEADLINE", None)` to counter Key Error from dictionary, assertion will never be evaluated when the key is not available.