If the resource you are looking for is not available how to assign value for the field 0.0

In .py code

def validate(self):
    print('llllllllllll')
    var = self.items
    for line in var:
        print(line.actual_quantity, 'aaaaaaaaa')
        invoice_date = self.posting_date
        annual_point_scheme = frappe.db.get_list('Annual Point Scheme', fields=['name'], filters={
            'start_date': ['<=', self.posting_date], 'end_date': ['>=', self.posting_date], 'status': ['=', 'Done']})
        print(annual_point_scheme, 'annual_point_scheme')
        if annual_point_scheme:
            annual_point_scheme_line = frappe.get_doc("Annual Point Scheme lines", {'categ_id': line.item_group})
            # data = annual_point_scheme_line.get_data(filters={'categ_id': line.item_group, 'doctype': 'DocType'})
            print(annual_point_scheme_line.categ_id,'datadatadatadatadatadata')
            if annual_point_scheme_line:
                point_assigned = annual_point_scheme_line.point_assigned
                print(point_assigned,'point_assigned')
                scheme_point = point_assigned * line.actual_quantity
                print(scheme_point,'scheme_point')
            else:
                line.scheme_point = 0.0
         
            line.scheme_point = scheme_point

error:
Annual Point Scheme lines {‘categ_id’: ‘Super Shine’} not found.

Please give solution for this problem.

Thanks,
S.Kavitha.

Please reply @SOLOSOFT.