In case job_template is null handle that case for vars prompt

This commit is contained in:
Matthew Jones 2014-05-12 13:53:33 -04:00
parent 22984f91cc
commit a19f388e2d

View File

@ -232,7 +232,9 @@ class Job(UnifiedJob, JobOptions):
@property
def vars_prompt_on_launch(self):
return self.job_template.vars_prompt_on_launch
if self.job_template is not None:
return self.job_template.vars_prompt_on_launch
return None
@property
def passwords_needed_to_start(self):