misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2019-10-20 18:32:24 +02:00
parent c6b3e11e04
commit d49cefe1e4
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

@ -123,6 +123,9 @@ class View(object):
def set(self, key, value):
self._state.set(key, value)
def get(self, key):
return self._state.get(key)
def on_starting(self):
self.set('status', self._voice.on_starting())
self.set('face', faces.AWAKE)