Skip to content

Commit

Permalink
Update action-louisros.radio.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kheperV3 authored Aug 26, 2018
1 parent 601492e commit 224d118
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions action-louisros.radio.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,11 @@ def intents_callback(hermes, intentMessage) :
if __name__ == "__main__":
with Hermes(MQTT_ADDR) as h:
h.subscribe_intents(intents_callback)
th = theading.Thread(target=self.waitForNewSession)
th.daemon = True
th.start()
h.loop_forever()
while True:
loop_start()
sleep(.1)
loop_stop()




Expand Down

0 comments on commit 224d118

Please sign in to comment.