diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/gcourse.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/gcourse.py index 542e301d95..1dd10bf715 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/views/gcourse.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/gcourse.py @@ -3837,8 +3837,8 @@ def load_assessment_analytics(request, group_id): each_sublist[0], each_sublist[1]) if user_data_set: try: - for user_id in active_user_ids_list: - counter_obj = Counter.get_counter_obj(user_id, group_id) + for buser_id in active_user_ids_list: + counter_obj = Counter.get_counter_obj(buser_id, group_id) #create if not counter_obj['assessment']: assessment_dict = {'id': each_sublist[1], 'correct': user_data_set['Correct'],