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 27, 2018
1 parent 57e5398 commit 1a9da13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action-louisros.radio.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ def intents_callback(hermes, intentMessage) :
session = int(PyString(fv.read()))
fv.close()
if session == 1:
"""with Hermes(MQTT_ADDR) as h:

h.publish_start_session_action(MQTT_ADDR,'oui cher maître',['louisros:time','louisros:stopRadio','louisros:changeVolume','louisros:selectStation'])
"""

fv =open("/var/lib/snips/skills/session","w")
fv.write(CString('0002'))
fv.close()
Expand Down

0 comments on commit 1a9da13

Please sign in to comment.