mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -70,10 +70,9 @@ def update_data(last_session):
|
|||||||
enabled = [name for name, options in pwnagotchi.config['main']['plugins'].items() if
|
enabled = [name for name, options in pwnagotchi.config['main']['plugins'].items() if
|
||||||
'enabled' in options and options['enabled']]
|
'enabled' in options and options['enabled']]
|
||||||
language = pwnagotchi.config['main']['lang']
|
language = pwnagotchi.config['main']['lang']
|
||||||
ai = pwnagotchi.config['ai']['enabled']
|
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
'ai': ai,
|
'ai': "No AI!",
|
||||||
'session': {
|
'session': {
|
||||||
'duration': last_session.duration,
|
'duration': last_session.duration,
|
||||||
'epochs': last_session.epochs,
|
'epochs': last_session.epochs,
|
||||||
|
Reference in New Issue
Block a user