fix: when the AI is ready the mode label reports AI

This commit is contained in:
Simone Margaritelli 2019-10-07 01:31:37 +02:00
parent b26d238f40
commit 61da16ed91
2 changed files with 2 additions and 2 deletions
pwnagotchi

@ -39,4 +39,4 @@ def load(config, agent, epoch, from_disk=True):
for key, value in config['params'].items():
logging.info(" %s: %s" % (key, value))
return a2c
return a2c

@ -153,7 +153,7 @@ class View(object):
self.set('face', faces.AWAKE)
def on_ai_ready(self):
self.set('mode', '')
self.set('mode', ' AI')
self.set('face', faces.HAPPY)
self.set('status', self._voice.on_ai_ready())
self.update()