mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
multiple edits
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -67,6 +67,8 @@ def update_data(last_session):
|
||||
brain = json.load(fp)
|
||||
except:
|
||||
pass
|
||||
enabled = [name for name, options in config['main']['plugins'].items() if
|
||||
'enabled' in options and options['enabled']]
|
||||
|
||||
data = {
|
||||
'session': {
|
||||
@ -84,7 +86,8 @@ def update_data(last_session):
|
||||
'uname': subprocess.getoutput("uname -a"),
|
||||
'brain': brain,
|
||||
'version': pwnagotchi.__version__,
|
||||
'build': "Pwnagotchi-Torch by Jayofelony"
|
||||
'build': "Pwnagotchi-Torch by Jayofelony",
|
||||
'plugins': enabled
|
||||
}
|
||||
|
||||
logging.debug("updating grid data: %s" % data)
|
||||
|
Reference in New Issue
Block a user