Hi,
just a quick question, in the QuickTime example, you have a check for if the jobPlugin is Nuke and the movieSettings isn’t empty in this form:
if movieSettings == "" or job.JobPlugin != "Nuke":
return
I understand what it does, but, isn’t it a bit “awkward” way of skipping the submission if any of the two conditions are True? I mean, I am curious why you chose this way of testing for the condition instead of a more common:
if movieSettings == "" or job.JobPlugin != "Nuke":
return None
else:
"""submission script here"""
pass
I’m really just curious as I don’t remember seeing that kind of a usage of the return statement in a condition in a function.
Thanks in advance, cheers…