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 bfae90c247
commit 1a53801955

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,
), ),
) )