From 1a53801955925ab2a9f9fe1b91252077ac91d16a Mon Sep 17 00:00:00 2001 From: Gregoo Date: Wed, 29 Jan 2025 17:35:15 +0100 Subject: [PATCH] Fix undefined id variable used when a checkbox does not exist --- bricktracker/set_checkbox_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricktracker/set_checkbox_list.py b/bricktracker/set_checkbox_list.py index 0f32240..6564e8d 100644 --- a/bricktracker/set_checkbox_list.py +++ b/bricktracker/set_checkbox_list.py @@ -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, ), )