Merge pull request #733 from MycroftAI/hotfix/fix-demo-mode

Fixing demo mode, sending two events on message bus
pull/738/head
kfezer 2017-05-05 16:20:37 -07:00 committed by GitHub
commit 27c9a03a52
1 changed files with 0 additions and 3 deletions

View File

@ -151,9 +151,6 @@ class EnclosureReader(Thread):
time.sleep(5)
subprocess.call('systemctl reboot -i', shell=True)
if "mycroft.mark1.demo" in data:
self.ws.emit(Message("mycroft.mark1.demo"))
def stop(self):
self.alive = False