logger.error("StateMachine: Unable to list sound files in %s" % (SOUNDS_DIRECTORY+what))
return
soundfile = SOUNDS_DIRECTORY + what + '/' + random.choice(soundfiles)
logger.error("StateMachine: Unable to list sound files in %s" % (SOUNDS_DIRECTORY+what))
return
soundfile = SOUNDS_DIRECTORY + what + '/' + random.choice(soundfiles)
- fire_and_forget ([SOUNDS_PLAYER,soundfile], logger.error, "StateMachine: ")
+ fire_and_forget_cmd ([SOUNDS_PLAYER,soundfile], logger.error, "StateMachine: ")
class StateStart(State):
def __init__(self, sm, nervlist = None, fallback=False):
class StateStart(State):
def __init__(self, sm, nervlist = None, fallback=False):
class StateFallback(State):
def __init__(self, sm, nervlist = None):
class StateFallback(State):
def __init__(self, sm, nervlist = None):