ouhenio commited on
Commit
d05a81e
·
verified ·
1 Parent(s): 9199c28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ def count_answers_per_space(country: str):
122
  answers_per_user = {}
123
 
124
  for record in records:
125
- responses = record.responses.get("text", [])
126
  if responses:
127
  answered_questions += 1
128
  total_answers += len(responses)
 
122
  answers_per_user = {}
123
 
124
  for record in records:
125
+ responses = record.responses.get("answer_1", [])
126
  if responses:
127
  answered_questions += 1
128
  total_answers += len(responses)