diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/workflow/resource_bundle_workflow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/workflow/resource_bundle_workflow.py b/src/workflow/resource_bundle_workflow.py index 11386f9..4858ebe 100644 --- a/src/workflow/resource_bundle_workflow.py +++ b/src/workflow/resource_bundle_workflow.py @@ -131,7 +131,7 @@ class Define_Hardware(WorkflowStep): try: self.form = HardwareDefinitionForm(request.POST) if self.form.is_valid(): - if len(json.loads(self.form.cleaned_data['filter_field']).labs) != 1: + if len(json.loads(self.form.cleaned_data['filter_field'])['labs']) != 1: self.metastep.set_invalid("Please select one lab") else: self.update_models(self.form.cleaned_data) |