mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
@ -171,7 +171,7 @@ class LastSession(object):
|
||||
if skip:
|
||||
logging.debug("skipping parsing of the last session logs ...")
|
||||
else:
|
||||
logging.debug("parsing last session logs ...")
|
||||
logging.debug("reading last session logs ...")
|
||||
|
||||
lines = []
|
||||
|
||||
@ -193,6 +193,8 @@ class LastSession(object):
|
||||
self.last_session_id = hashlib.md5(lines[0].encode()).hexdigest()
|
||||
self.last_saved_session_id = self._get_last_saved_session_id()
|
||||
|
||||
logging.debug("parsing last session logs (%d lines) ..." % len(lines))
|
||||
|
||||
self._parse_stats()
|
||||
self.parsed = True
|
||||
|
||||
|
Reference in New Issue
Block a user