mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2026-07-28 14:37:00 -07:00
Revert "fix(fix_services): fix display null reference crash in on_epoch"
This reverts commit 0fd715b554.
This commit is contained in:
@@ -182,7 +182,7 @@ class FixServices(plugins.Plugin):
|
||||
cooldown_ok = time.time() - self.LASTTRY > 180
|
||||
if cooldown_ok:
|
||||
# get last 10 lines
|
||||
display = agent.view() if hasattr(agent, 'view') else None
|
||||
display = agent.view()
|
||||
|
||||
logging.debug("[Fix_Services]**** checking")
|
||||
if len(self.pattern.findall(last_lines)) >= 1:
|
||||
|
||||
Reference in New Issue
Block a user