Skip to content

Commit

Permalink
Merge pull request #146 from PerfectFit-project/401-quotation-marks
Browse files Browse the repository at this point in the history
added quotation marks to activity titles
  • Loading branch information
wbaccinelli authored Aug 4, 2023
2 parents 6122b08 + 446163c commit ae0a866
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Rasa_Bot/actions/actions_general_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ async def run(self, dispatcher, tracker, domain):

available_activities_ids = [activity.intervention_activity_id for activity in available]

options = ["Typ " + str(i + 1) + " als je " +
options = ["Typ " + str(i + 1) + " als je '" +
available[i].intervention_activity_title +
" wilt doen.\n"
"' wilt doen.\n"
for i in range(len(available))]

sentence = ''.join(options)
sentence = str().join(options)

sentence += "Typ " + \
str(len(available)) + \
Expand Down Expand Up @@ -403,12 +403,12 @@ def validate_general_activity_activity_type_slot(

available_activities_ids = [activity.intervention_activity_id for activity in available]

options = ["Typ " + str(i + 1) + " als je " +
options = ["Typ " + str(i + 1) + " als je '" +
available[i].intervention_activity_title +
" wilt doen.\n"
"' wilt doen.\n"
for i in range(len(available))]

sentence = ''.join(options)
sentence = str().join(options)

sentence += "Typ " + \
str(len(available) + 1) + \
Expand Down

0 comments on commit ae0a866

Please sign in to comment.