mindbender-studio / config

Pipeline Configuration
MIT License
4 stars 4 forks source link

Validate deadline data #11

Closed aardschok closed 6 years ago

aardschok commented 7 years ago

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.

mottosso commented 6 years ago

Sorry I completely missed this one. Can I merge this?

aardschok commented 6 years ago

As far as I know yes