Fix issue where unified_job method overrode the SurveyMixin methods

This commit is contained in:
AlanCoding
2016-11-08 09:19:29 -05:00
parent 76eb0bb866
commit a1c17a7243
3 changed files with 26 additions and 9 deletions
+1 -1
View File
@@ -345,7 +345,7 @@ class WorkflowJobTemplate(UnifiedJobTemplate, WorkflowJobOptions, SurveyJobTempl
def can_start_without_user_input(self):
'''Return whether WFJT can be launched without survey passwords.'''
return bool(self.variables_needed_to_start)
return not bool(self.variables_needed_to_start)
def get_warnings(self):
warning_data = {}