Skip to content

Commit

Permalink
Add distinct-responses-only
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Aug 25, 2024
1 parent 83a2d86 commit 96d54cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def apply_extra(self, extras):
}
}
self.extract_agg = True
if x in 'distinct-responses':
if x == 'distinct-responses':
if 'cards' in self.q:
min_score = self.q['cards'].get('min_score', 0)
if min_score > 0:
Expand Down Expand Up @@ -110,7 +110,7 @@ def apply_extra(self, extras):
}
}
self.extract_agg = True
if x in 'distinct-responses-only':
if x == 'distinct-responses-only':
if 'cards' in self.q:
min_score = self.q['cards'].get('min_score', 0)
if min_score > 0:
Expand Down

0 comments on commit 96d54cc

Please sign in to comment.