mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
fixes
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user