fixes
This commit is contained in:
parent
a3c05b3e85
commit
06df5e70cf
sdcard/rootfs/root/pwnagotchi/scripts/pwnagotchi
@ -2,8 +2,6 @@ import os
|
||||
import glob
|
||||
import importlib, importlib.util
|
||||
|
||||
# import core
|
||||
|
||||
default_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "default")
|
||||
loaded = {}
|
||||
|
||||
|
@ -233,12 +233,12 @@ class View(object):
|
||||
if sleeping:
|
||||
if secs > 1:
|
||||
self.set('face', faces.SLEEP)
|
||||
self.set('status', self._voice.on_napping(secs))
|
||||
self.set('status', self._voice.on_napping(int(secs)))
|
||||
else:
|
||||
self.set('face', faces.SLEEP2)
|
||||
self.set('status', self._voice.on_awakening())
|
||||
else:
|
||||
self.set('status', self._voice.on_waiting(secs))
|
||||
self.set('status', self._voice.on_waiting(int(secs)))
|
||||
if step % 2 == 0:
|
||||
self.set('face', faces.LOOK_R)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user