mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
new: added clean shutdown button to the web ui (closes #161)
This commit is contained in:
@ -90,6 +90,11 @@ class Voice:
|
||||
self._('Zzzzz'),
|
||||
self._('ZzzZzzz ({secs}s)').format(secs=secs)])
|
||||
|
||||
def on_shutdown(self):
|
||||
return random.choice([
|
||||
self._('Good night.'),
|
||||
self._('Zzz')])
|
||||
|
||||
def on_awakening(self):
|
||||
return random.choice(['...', '!'])
|
||||
|
||||
|
Reference in New Issue
Block a user