Fix undefined id variable used when a checkbox does not exist

This commit is contained in:
Gregoo 2025-01-29 17:35:15 +01:00
parent cb58ef83cc
commit 130b3fa84a

View File

@ -58,7 +58,7 @@ class BrickSetCheckboxList(BrickRecordList[BrickSetCheckbox]):
if id not in self.checkboxes: if id not in self.checkboxes:
raise NotFoundException( raise NotFoundException(
'Checkbox with ID {id} was not found in the database'.format( 'Checkbox with ID {id} was not found in the database'.format(
id=self.fields.id, id=id,
), ),
) )