Skip to content

Commit

Permalink
Merge pull request #32 from anjanaw/dev
Browse files Browse the repository at this point in the history
strip questions to match
  • Loading branch information
anjanaw authored Feb 2, 2024
2 parents 85dfe9b + f6849f4 commit 3cb32af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion business/bt/nodes/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ async def tick(self):
questions = [self.params["Question"].lower()] if ";" not in self.params["Question"].lower() else [f.lower() for f in self.params["Question"].lower().split(";")]
else:
questions = [self.params["Question"]["value"].lower()] if ";" not in self.params["Question"]["value"].lower() else [f.lower() for f in self.params["Question"]["value"].lower().split(";")]
match = selected_q.strip().lower() in questions
match = selected_q.strip().lower() in [q.strip().lower() for q in questions]
content = {
"content": selected_q,
"id": selected_q_id,
Expand Down

0 comments on commit 3cb32af

Please sign in to comment.