From e8fa6823026c57315ddf1f9562e02d325866777b Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Sun, 20 Oct 2019 18:20:07 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- pwnagotchi/log.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pwnagotchi/log.py b/pwnagotchi/log.py index ebada1b..f5c235e 100644 --- a/pwnagotchi/log.py +++ b/pwnagotchi/log.py @@ -168,6 +168,8 @@ class LastSession(object): self.avg_reward /= (self.epochs if self.epochs else 1) def parse(self): + logging.debug("parsing last session logs ...") + lines = [] if os.path.exists(self.path):