From 130b3fa84a34a9c33a77bd0b67e470bb02af4d37 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, ), )