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 0ac8afe commit 601492e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions action-louisros.radio.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,11 @@ def intents_callback(hermes, intentMessage) :

if __name__ == "__main__":
with Hermes(MQTT_ADDR) as h:
h.subscribe_intents(intents_callback)
h.loop_start()
h.subscribe_intents(intents_callback)
th = theading.Thread(target=self.waitForNewSession)
th.daemon = True
th.start()

h.loop_forever()



Expand Down

0 comments on commit 601492e

Please sign in to comment.