Fixed #7
Signed-off-by: merspieler <merspieler@users.noreply.github.com>
This commit is contained in:
parent
f3ea5927e5
commit
25c1d67076
1 changed files with 2 additions and 1 deletions
|
@ -266,7 +266,8 @@ class FlightGearCopilotSkill(MycroftSkill):
|
|||
checklist = i
|
||||
checklist_title = self.get_prop(tn, "/sim/checklists/checklist[" + str(checklist) + "]/title")
|
||||
checklist_title = checklist_title.replace('/', '|')
|
||||
match = re.search(re.escape(checklist_title), cl_request, re.I)
|
||||
checklist_title = "^" + checklist_title
|
||||
match = re.search(checklist_title, cl_request, re.I)
|
||||
|
||||
if match != None:
|
||||
self.speak(checklist_title + " checklist")
|
||||
|
|
Loading…
Reference in a new issue