Minor fixes

Signed-off-by: merspieler <merspieler@users.noreply.github.com>
This commit is contained in:
merspieler 2018-02-28 22:50:24 +01:00
parent 52b24ff492
commit decf553bd0

View file

@ -318,7 +318,7 @@ class FlightGearCopilotSkill(MycroftSkill):
self.speak("Checklist not completed")
sys.exit(0)
if fo_conf = 1:
if fo_conf == 1:
self.speak(item_value)
@intent_handler(IntentBuilder('FlightControlCheckIntent').require('flight.control.check'))
@ -404,7 +404,7 @@ class FlightGearCopilotSkill(MycroftSkill):
return found
# expands adverbations to full words
def expand_adverbations(self, text)
def expand_adverbations(self, text):
# TODO reduce collisions when used with other a/c
# TODO add more adverbations
text = re.sub("\sALT\s?", "altitude", text, flags=re.I)