Fix for exit() function

Signed-off-by: merspieler <merspieler@users.noreply.github.com>
This commit is contained in:
merspieler 2018-02-02 01:14:36 +01:00
parent 15e1f82c35
commit 5f04640dff

View file

@ -247,7 +247,7 @@ class FlightGearCopilotSkill(MycroftSkill):
return tn
# exit routine to properly close the tn con
def exit(tn):
def exit(self, tn):
tn.close
sys.exit(0)