Skip to content
Browse files

Fix cursor description access

  • Loading branch information...
1 parent 2246aa9 commit be89528473f0b3e7031229cf846a0469cbacc8c7 @kumar303 kumar303 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 chirp/volunteers/views.py
View
2 chirp/volunteers/views.py
@@ -422,7 +422,7 @@ def get_csv_of_volunteer_activity(request):
fields = [d[0] for d in c.description]
for row in c:
r = dict(zip(fields, row))
- user_points["%s %s" % (r['u.first_name'], r['u.last_name'])] += Decimal(str(r['points']))
+ user_points["%s %s" % (r['first_name'], r['last_name'])] += Decimal(str(r['points']))
c.execute("""
select

0 comments on commit be89528

Please sign in to comment.
Something went wrong with that request. Please try again.