mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
@ -123,6 +123,9 @@ class View(object):
|
|||||||
def set(self, key, value):
|
def set(self, key, value):
|
||||||
self._state.set(key, value)
|
self._state.set(key, value)
|
||||||
|
|
||||||
|
def get(self, key):
|
||||||
|
return self._state.get(key)
|
||||||
|
|
||||||
def on_starting(self):
|
def on_starting(self):
|
||||||
self.set('status', self._voice.on_starting())
|
self.set('status', self._voice.on_starting())
|
||||||
self.set('face', faces.AWAKE)
|
self.set('face', faces.AWAKE)
|
||||||
|
Reference in New Issue
Block a user