From 6e1964820f18a82818c11081eef38cb591fcf705 Mon Sep 17 00:00:00 2001 From: Josh Burman Date: Wed, 15 Dec 2021 20:35:27 +0000 Subject: [PATCH] bad ruby habits, must unlearn --- app/models/solver_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/solver_run.py b/app/models/solver_run.py index 7d030a6..f99b9a8 100644 --- a/app/models/solver_run.py +++ b/app/models/solver_run.py @@ -33,7 +33,7 @@ class SolverRun(BaseModel): for item in self.items: # dynamically get the attribute that will be used as an identifier to bundle like items - attribute_id = getattr(item, type_attribute, None)() + attribute_id = getattr(item, type_attribute, None) # make sure the item has said attribute if attribute_id != None: