summaryrefslogtreecommitdiffstats
path: root/dashboard/src/workflow
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/src/workflow')
-rw-r--r--dashboard/src/workflow/resource_bundle_workflow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/src/workflow/resource_bundle_workflow.py b/dashboard/src/workflow/resource_bundle_workflow.py
index 11386f9..4858ebe 100644
--- a/dashboard/src/workflow/resource_bundle_workflow.py
+++ b/dashboard/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)