From 5d5ed8acd48950f9eb850590bef068f853a42fb5 Mon Sep 17 00:00:00 2001 From: kedar2a Date: Fri, 29 Sep 2017 18:17:35 +0530 Subject: [PATCH] var name changed for buddy assessment analytics --- gnowsys-ndf/gnowsys_ndf/ndf/views/gcourse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'],