Skip to content

Commit

Permalink
fix: Update question_key in visual_matching_pairs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Jan 10, 2024
1 parent 481b00c commit 1fa7a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/experiment/rules/visual_matching_pairs.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def next_round(self, session):
return [trial]
else:
session.final_score += session.result_set.filter(
question_key='matching_pairs').last().score
question_key='visual_matching_pairs').last().score
session.save()
social_info = self.social_media_info(session.experiment, session.final_score)
social_info['apps'].append('clipboard')
Expand Down

0 comments on commit 1fa7a10

Please sign in to comment.