Fix undefined id variable used when a checkbox does not exist
This commit is contained in:
parent
bfae90c247
commit
1a53801955
@ -58,7 +58,7 @@ class BrickSetCheckboxList(BrickRecordList[BrickSetCheckbox]):
|
||||
if id not in self.checkboxes:
|
||||
raise NotFoundException(
|
||||
'Checkbox with ID {id} was not found in the database'.format(
|
||||
id=self.fields.id,
|
||||
id=id,
|
||||
),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user