bad ruby habits, must unlearn
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user